/*
 * DORON Bill Saathi's public page (billsaathi.dorontechsolutions.com). Same look as the
 * printed one-pager: navy + teal, saffron accents, a printed bill in the hero.
 * Fonts are served from this site (helmet's CSP allows same-origin only).
 */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/bill-saathi-site/fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/bill-saathi-site/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f3f6fb; --paper: #ffffff; --ink: #0f1b2d; --muted: #56657c; --rule: #dbe3ef;
  --navy: #0b2a5b; --navy-2: #173c78; --teal: #12a58f; --teal-soft: #e3f6f2;
  --saffron: #e8890f; --saffron-soft: #fdf1df;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: Consolas, "Cascadia Mono", ui-monospace, monospace;
  --font-display: var(--font); --font-body: var(--font); --font-mono: var(--mono);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1322; --paper: #111c30; --ink: #e8eef8; --muted: #9fb0c8; --rule: #22324d;
    --navy-2: #8fb3ff; --teal: #3fd0b8; --teal-soft: #12342f; --saffron: #f2a63c; --saffron-soft: #3a2a12;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1322; --paper: #111c30; --ink: #e8eef8; --muted: #9fb0c8; --rule: #22324d;
  --navy-2: #8fb3ff; --teal: #3fd0b8; --teal-soft: #12342f; --saffron: #f2a63c; --saffron-soft: #3a2a12;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid #dbe3ef; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.top .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #0b2a5b; }
.top .logo img { height: 46px; width: auto; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.top nav a { text-decoration: none; color: #3a475c; }
.top nav a:hover { color: #0b2a5b; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 700; border-radius: 12px; padding: 12px 20px; border: 0; cursor: pointer; font-family: inherit; font-size: 15px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.primary { background: linear-gradient(135deg, #ffb53d, #e8890f 60%, #d9700b); color: #fff !important; box-shadow: 0 8px 20px rgba(217,112,11,.30); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.ghost { background: #fff; color: #0b2a5b; border: 1px solid #c9d6ea; }
.top .btn { padding: 9px 16px; font-size: 14px; }

/* hero: always light, like the logo's own white ground */
.hero { background: radial-gradient(70% 110% at 100% 0%, #cdeee6 0%, transparent 60%), linear-gradient(180deg, #dde8f6 0%, #e7eff9 100%); color: #0f1b2d; border-bottom: 1px solid #dbe3ef; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 40px; align-items: center; padding-block: 56px 60px; }
.name-row { display: flex; align-items: center; gap: 16px; }
.name-row img { width: 64px; height: 64px; border-radius: 14px; box-shadow: 0 6px 16px rgba(11,42,91,.25); }
h1 { font-size: clamp(42px, 6vw, 64px); font-weight: 900; font-style: italic; letter-spacing: -.02em;
  background: linear-gradient(90deg, #0b2a5b, #12a58f); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 6px; }
.lede { font-size: clamp(19px, 2.2vw, 23px); font-weight: 600; margin-top: 18px; max-width: 30ch; }
.sub { color: #56657c; margin-top: 12px; max-width: 50ch; font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #e3f6f2; border: 1px solid #c4ebe3; color: #0b2a5b; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.cta .meta { font-size: 13.5px; color: #56657c; }

.bill { background: #fffdf8; color: #1b2433; font-family: var(--mono); font-size: 11px; line-height: 1.45; padding: 14px 16px 16px; border: 6px solid #0b2a5b; border-top: 10px solid #12a58f; border-radius: 12px;
  box-shadow: 0 14px 30px rgba(11,42,91,.20); transform: rotate(2deg); max-width: 270px; width: 100%; justify-self: center; }
.bill .shop { text-align: center; font-weight: 700; font-size: 12.5px; }
.bill .c { text-align: center; color: #5b6575; font-size: 10px; }
.bill hr { border: 0; border-top: 1px dashed #9aa5b5; margin: 8px 0; }
.bill .t { text-align: center; font-weight: 700; letter-spacing: .08em; }
.bill .row { display: flex; justify-content: space-between; gap: 12px; }
.bill .tot { font-weight: 700; font-size: 13px; }
.bill .qr { display: grid; grid-template-columns: repeat(41, 2px); justify-content: center; margin: 8px 0 4px; }
.bill .qr i { width: 2px; height: 2px; background: #1b2433; }
.bill .qr i.o { background: transparent; }

/* sections */
section { padding-block: 64px 0; }
.eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; margin-bottom: 14px; }
.intro { color: var(--muted); font-size: 17px; max-width: 62ch; margin-bottom: 28px; }
.shot { margin: 0; background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 10px; box-shadow: 0 14px 34px rgba(11,42,91,.10); }
.shot img { border-radius: 9px; width: 100%; height: auto; }   /* keep its shape on phones (the tag has width and height) */
.shot figcaption { font-size: 14px; color: var(--muted); padding: 10px 6px 2px; }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.f { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 20px; }
.f .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 14px; }
.f:nth-child(even) .ic { background: var(--saffron-soft); color: var(--saffron); }
.f .ic svg { width: 22px; height: 22px; }
.f h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.f p { color: var(--muted); font-size: 14.5px; }
.mono { font-family: var(--mono); font-size: .92em; }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.panel { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 24px; }
.who { display: grid; gap: 14px; }
.who div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; font-size: 15px; }
.who b { font-weight: 700; color: var(--navy-2); }
.who span { color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; font-size: 15px; counter-increment: s; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.steps b { display: block; font-weight: 700; }
.steps span { color: var(--muted); }
kbd { font-family: var(--mono); font-size: .85em; padding: 1px 6px; border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 5px; background: var(--bg); }

/* download: always the brand navy */
.dl { margin-top: 64px; border-radius: 22px; color: #fff; padding: 40px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center;
  background: radial-gradient(90% 120% at 100% 0%, #1d6f8c 0%, transparent 60%), linear-gradient(150deg, #0b2a5b, #173c78); box-shadow: 0 18px 40px rgba(11,42,91,.28); }
.dl .eyebrow { color: #7fe3d2; }
.dl h2 { color: #fff; }
.dl p { color: #c9d8f2; }
.dl ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: #e8eef8; font-size: 15px; }
.dl li { display: flex; gap: 10px; align-items: center; }
.dl li svg { width: 18px; height: 18px; flex: none; color: #ffd36b; }
.dl-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 22px; display: grid; gap: 14px; }
.dl-card .btn { width: 100%; font-size: 16px; padding: 15px 20px; }
.dl-card dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; font-size: 13.5px; }
.dl-card dt { color: #9fb5da; }
.dl-card dd { margin: 0; color: #fff; }

.reqs { margin-top: 28px; color: var(--muted); font-size: 15px; }
.reqs b { color: var(--ink); }

.contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* pricing: the same price tag and tiles as the printed one-pager */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; margin-top: 6px; }
.tier { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; padding: 22px 22px 20px; overflow: hidden;
  box-shadow: 0 8px 22px rgba(11,42,91,.08); }
.tier::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--accent); }
.tier.t1 { --accent: linear-gradient(90deg, #ffb53d, #e8890f); --tint: #fdf1df; --ic: #d9700b; }
.tier.t5 { --accent: linear-gradient(90deg, #3fd0b8, #12a58f); --tint: #e3f6f2; --ic: #0f8f7c; }
.tier.t10 { --tint: rgba(255,255,255,.14); --ic: #ffd36b; border: 0; color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, #1d6f8c 0%, transparent 60%), linear-gradient(150deg, #0b2a5b 0%, #173c78 100%);
  box-shadow: 0 16px 34px rgba(11,42,91,.30); }
.tier.t10::before { display: none; }
.tier-head { display: flex; align-items: center; gap: 12px; }
.tier-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; flex: none; color: var(--ic); }
.tier-icon svg { width: 26px; height: 26px; }
.tier-count { font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.15; display: block; }
.tier-for { font-size: 13.5px; color: var(--muted); display: block; }
.tier.t10 .tier-for { color: #c9d8f2; }
.tier-price { display: flex; align-items: flex-start; margin-top: 18px; font-family: var(--font-display); font-weight: 900; line-height: 1; }
.tier-price sup { font-size: 22px; margin-top: 6px; margin-right: 2px; color: var(--ic); }
.tier-price .n { font-size: 48px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tier-price .yr { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--muted); margin-top: 8px; margin-left: 6px; }
.tier.t10 .tier-price .yr { color: #c9d8f2; }
.tier-per { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; font-size: 14px; color: var(--muted); }
.tier.t10 .tier-per { color: #c9d8f2; }
.tier-per b { color: var(--ink); font-weight: 700; }
.tier.t10 .tier-per b { color: #fff; }
.save { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--tint); color: var(--ic); }
.tier.t10 .save { background: #ffd36b; color: #0b2a5b; }
.tier-list { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--rule); display: grid; gap: 8px; font-size: 14px; }
.tier.t10 .tier-list { border-top-color: rgba(255,255,255,.25); }
.tier-list li { display: flex; align-items: center; gap: 8px; }
.tier-list svg { width: 17px; height: 17px; flex: none; color: var(--ic); }
.ribbon { position: absolute; top: 16px; right: -34px; transform: rotate(40deg); background: linear-gradient(90deg, #ffb53d, #e8890f); color: #fff;
  font-family: var(--font-display); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 40px; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.plans .lead { color: var(--muted); font-size: 15px; margin: -8px 0 20px; }
.price-flyer { position: relative; display: inline-flex; align-items: center; gap: 16px; margin-top: 22px; padding: 14px 22px 14px 14px; border-radius: 18px;
  background: linear-gradient(135deg, #ffb53d 0%, #f0901a 55%, #d9700b 100%); color: #fff; box-shadow: 0 12px 26px rgba(217,112,11,.32), inset 0 1px 0 rgba(255,255,255,.35); transform: rotate(-1.5deg); }
.price-flyer::before { content: ""; position: absolute; inset: 5px; border: 1.5px dashed rgba(255,255,255,.55); border-radius: 13px; pointer-events: none; }
.price-flyer .seal { width: 58px; height: 58px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(120,60,0,.25); }
.price-flyer .seal svg { width: 30px; height: 30px; }
.price-flyer .from { display: block; font-family: var(--font-display); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff3dc; }
.price-flyer .amt { display: flex; align-items: flex-start; font-family: var(--font-display); font-weight: 900; font-style: italic; line-height: 1; color: #fff; text-shadow: 0 2px 0 rgba(150,70,0,.35); }
.price-flyer .amt sup { font-size: 22px; margin-top: 5px; margin-right: 2px; }
.price-flyer .amt .n { font-size: 50px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-flyer .amt .yr { font-size: 15px; font-style: normal; font-weight: 700; margin-top: 7px; margin-left: 4px; color: #fff3dc; }
.price-flyer ul { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 1.5px dashed rgba(255,255,255,.6); display: grid; gap: 5px; font-size: 13.5px; font-weight: 600; }
.price-flyer li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.price-flyer li svg { width: 16px; height: 16px; flex: none; }
.price-flyer .spark { position: absolute; color: #ffd36b; }
.price-flyer .spark.a { width: 22px; height: 22px; top: -11px; right: -8px; }
.price-flyer .spark.b { width: 13px; height: 13px; top: 12px; right: -18px; color: #f0901a; }
.price-flyer { margin-top: 26px; }
.price-flyer .amt .yr { margin-left: 10px; }
.plans .lead { font-size: 17px; margin: 0 0 26px; }
.hero { overflow-x: clip; }
.plans .small { font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .tiers { grid-template-columns: minmax(0, 1fr); } .price-flyer { transform: none; } }
@media (max-width: 540px) { .price-flyer { flex-wrap: wrap; } .price-flyer ul { border-left: 0; padding-left: 0; } }

/* privacy notice */
.page-head { background: linear-gradient(180deg, #dde8f6 0%, #e7eff9 100%); color: #0f1b2d; border-bottom: 1px solid #dbe3ef; padding-block: 48px 40px; }
.page-head .intro { color: #56657c; margin: 0; }
h1.plain { font-size: clamp(32px, 4.5vw, 44px); font-weight: 900; font-style: normal; color: #0b2a5b; background: none; -webkit-background-clip: border-box; background-clip: border-box; margin-bottom: 12px; }
.prose { max-width: 820px; padding-top: 8px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin: 0 0 12px; }
.prose b { color: var(--ink); }
.prose a { color: var(--navy-2); font-weight: 600; }
.prose ul { padding-left: 22px; margin: 0 0 12px; display: grid; gap: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 14.5px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.prose th { background: var(--bg); font-weight: 700; }
.prose td { color: var(--muted); }
.prose td:first-child { color: var(--ink); font-weight: 600; width: 24%; }
.prose tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) { .prose table, .prose tbody, .prose tr, .prose td { display: block; width: auto !important; } .prose thead { display: none; } .prose td { border-bottom: 0; padding: 4px 14px; } .prose tr { border-bottom: 1px solid var(--rule); padding: 8px 0; } }

/* footer: the same as TBB & Saathi's and Tally ERP Bridge's sites */
.site-foot { margin-top: 72px; background: #0f172a; color: #cbd5e1; border-top: 4px solid #f59e0b; font-size: 14px; }
.site-foot .cols { display: grid; gap: 28px; padding: 40px 0 28px; }
@media (min-width: 760px) { .site-foot .cols { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-foot h4 { margin: 0 0 12px 0; color: #fbbf24; font-size: 14px; letter-spacing: .02em; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: #cbd5e1; text-decoration: none; }
.site-foot a:hover { color: #fff; }
.site-foot .phone-link { display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 768px) { .site-foot .phone-link { cursor: default; } }
.site-foot .about img { height: 34px; width: auto; background: #fff; border-radius: 6px; padding: 4px 8px; margin-bottom: 10px; }
.site-foot .about p { color: #94a3b8; font-size: 13.5px; }
.site-foot .legal { border-top: 1px solid #1e293b; padding: 16px 0 22px; font-size: 12.5px; color: #94a3b8; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }

@media (max-width: 900px) {
  .hero .wrap, .two, .dl { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bill { transform: none; }
  .top nav a:not(.btn) { display: none; }
  .dl { padding: 28px 22px; }
}
@media (max-width: 540px) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .who div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .top .logo img { height: 36px; }
}

/* Features by type (features.js). Without JavaScript: the groups one under the other, each a grid as before.
   With it (.ftabs.on): a pill tab bar, one group at a time, its cards in a row that scrolls with snap points. */
.fgroup + .fgroup { margin-top: 36px; }
.fgroup-title { font-size: 19px; font-weight: 800; color: var(--navy-2); margin-bottom: 14px; }
.frow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ftabs.on .fgroup-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ftab-bar { display: inline-flex; gap: 6px; padding: 6px; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-bottom: 22px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; box-shadow: 0 6px 18px rgba(11,42,91,.06); }
.ftab-bar::-webkit-scrollbar { display: none; }
.ftab { display: inline-flex; align-items: center; gap: 8px; flex: none; white-space: nowrap; cursor: pointer;
  font: inherit; font-size: 14.5px; font-weight: 700; color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: 9px 16px; }
.ftab:hover { color: var(--ink); }
.ftab .n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; background: var(--bg); color: var(--muted); }
.ftab[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, #0b2a5b, #173c78); box-shadow: 0 6px 14px rgba(11,42,91,.22); }
.ftab[aria-selected="true"] .n { background: #ffd36b; color: #0b2a5b; }
.ftab:focus-visible, .farrow:focus-visible, .fdot:focus-visible, .frow:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.ftabs.on .fgroup + .fgroup { margin-top: 0; }
.ftabs.on .frow { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 2px 2px 6px; scrollbar-width: none; border-radius: 16px; }
.ftabs.on .frow::-webkit-scrollbar { display: none; }
.ftabs.on .frow > .f { flex: 0 0 calc((100% - 48px) / 3.25); scroll-snap-align: start; }   /* the next card peeks in */
.fnav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.fnav[hidden] { display: none; }
.farrow { width: 40px; height: 40px; flex: none; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--rule); background: var(--paper); color: var(--navy-2); box-shadow: 0 4px 12px rgba(11,42,91,.08); }
.farrow svg { width: 20px; height: 20px; }
.farrow:hover:not(:disabled) { border-color: var(--teal); color: var(--teal); }
.farrow:disabled { opacity: .35; cursor: default; box-shadow: none; }
.fdots { display: flex; gap: 8px; }
.fdot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: var(--rule); cursor: pointer; transition: width .2s, background-color .2s; }
.fdot.on { width: 22px; background: var(--teal); }
@media (max-width: 900px) {
  .frow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftabs.on .frow > .f { flex-basis: calc((100% - 32px) / 2.2); }
}
@media (max-width: 540px) {
  .frow { grid-template-columns: minmax(0, 1fr); }
  /* All four tabs in view on a phone: two by two rather than a bar that scrolls. */
  .ftab-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 16px; overflow: visible; }
  .ftab { justify-content: space-between; padding: 9px 12px; font-size: 13.5px; border-radius: 11px; white-space: normal; text-align: left; line-height: 1.2; }
  .ftabs.on .frow > .f { flex-basis: 84%; }
}
@media (prefers-reduced-motion: reduce) { .fdot { transition: none; } }

/* ---- A richer look (Nov 2026): hero blobs, spotlights, card lift, reveal on scroll ---- */
.hero { position: relative; isolation: isolate; }
.hero .mesh { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero .mesh i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero .mesh i:nth-child(1) { width: 520px; height: 520px; left: -140px; top: -180px; background: #b9d7ff; }
.hero .mesh i:nth-child(2) { width: 460px; height: 460px; right: -120px; top: -120px; background: #a9eadb; }
.hero .mesh i:nth-child(3) { width: 380px; height: 380px; left: 38%; bottom: -220px; background: #ffd9a3; opacity: .45; }
.price-flyer { box-shadow: 0 18px 36px rgba(217,112,11,.34), 0 4px 10px rgba(120,60,0,.18), inset 0 1px 0 rgba(255,255,255,.4); transition: transform .3s ease, box-shadow .3s ease; }
.price-flyer:hover { transform: rotate(-1.5deg) translateY(-3px); box-shadow: 0 24px 44px rgba(217,112,11,.38), 0 6px 14px rgba(120,60,0,.2), inset 0 1px 0 rgba(255,255,255,.4); }
.bill { transition: transform .4s ease; }
.bill:hover { transform: rotate(0deg) translateY(-4px); }

/* Spotlights: a panel each, text one side, a peek of the app in a tilted window the other. */
.spot { margin-top: 64px; padding: 44px; border-radius: 28px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: center;
  background: radial-gradient(80% 120% at 100% 0%, var(--teal-soft) 0%, transparent 60%), var(--paper); border: 1px solid var(--rule);
  box-shadow: 0 18px 44px rgba(11,42,91,.08); overflow: hidden; }
.spot.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  background: radial-gradient(80% 120% at 0% 0%, var(--saffron-soft) 0%, transparent 60%), var(--paper); }
.spot.flip .spot-text { order: 2; }
.spot .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.spot .eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.spot.flip .eyebrow { color: var(--saffron); }
.spot h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 900; letter-spacing: -.01em; }
.spot-text p { color: var(--muted); font-size: 17px; max-width: 44ch; }
.spot-chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.spot-chips li { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--teal-soft); color: var(--navy-2); }
.spot-chips svg { width: 16px; height: 16px; color: var(--teal); flex: none; }
.spot.flip .spot-chips li { background: var(--saffron-soft); }
.spot.flip .spot-chips svg { color: var(--saffron); }
.spot-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 700; font-size: 15px; color: var(--navy-2); text-decoration: none; }
.spot-link svg { width: 18px; height: 18px; transition: transform .2s ease; }
.spot-link:hover svg { transform: translateX(3px); }
.spot-shot { margin: 0; position: relative; }
.spot-shot::before { content: ""; position: absolute; inset: 8% 4% -4% 4%; z-index: 0; border-radius: 30px; filter: blur(34px); opacity: .55;
  background: linear-gradient(135deg, #12a58f, #3f7fe0); }
.spot.flip .spot-shot::before { background: linear-gradient(135deg, #ffb53d, #e8890f); }
.device { position: relative; z-index: 1; border-radius: 16px; background: #fff; border: 1px solid #d6e0ee; overflow: hidden;
  box-shadow: 0 24px 50px rgba(11,42,91,.22), 0 2px 6px rgba(11,42,91,.10); transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
  transition: transform .5s ease; }
.spot.flip .device { transform: perspective(1400px) rotateY(7deg) rotateX(2deg); }
.device-bar { display: flex; gap: 6px; padding: 9px 12px; background: #eef3fa; border-bottom: 1px solid #dde6f2; }
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9d4e4; }
.device-bar i:first-child { background: #f59e8b; } .device-bar i:nth-child(2) { background: #f5c46b; } .device-bar i:nth-child(3) { background: #7fd1a6; }
/* A peek, not the manual: the top of the screen, fading out. */
.device img { width: 100%; height: auto; max-height: 300px; object-fit: cover; object-position: top left;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  transition: transform .6s ease; transform-origin: top left; }
.spot:hover .device { transform: perspective(1400px) rotateY(0deg) rotateX(0deg); }
.spot:hover .device img { transform: scale(1.03); }

/* Feature cards: a little lift. */
.f { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.f:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,42,91,.10); border-color: #c9d6ea; }
.ftabs.on .frow { padding-top: 6px; padding-bottom: 14px; }

/* Reveal on scroll: only when features.js has switched it on (html.reveal-on), so nothing hides without JavaScript. */
.reveal-on .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal-on .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .spot, .spot.flip { grid-template-columns: minmax(0, 1fr); padding: 30px 24px; gap: 28px; }
  .spot.flip .spot-text { order: 0; }
  .device, .spot.flip .device { transform: none; }
}
@media (max-width: 540px) {
  .spot { margin-top: 44px; padding: 24px 18px; border-radius: 22px; }
  .spot-text p { font-size: 16px; }
  .device img { max-height: 210px; }
  .hero .mesh i { filter: blur(44px); }
  .hero .mesh i:nth-child(1) { width: 300px; height: 300px; }
  .hero .mesh i:nth-child(2) { width: 280px; height: 280px; }
}
@media (hover: none) { .spot:hover .device img, .f:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal-on .reveal { opacity: 1; transform: none; transition: none; }
  .device, .spot.flip .device, .spot:hover .device { transform: none; transition: none; }
  .device img, .spot:hover .device img, .f, .f:hover, .price-flyer, .bill, .spot-link svg { transition: none; }
  .spot:hover .device img, .f:hover, .bill:hover { transform: none; }
}

/* ---- Feature tabs, themed (Nov 2026): one colour per group, carried into its tab, panel, icons and controls ---- */
[data-theme="orders"]  { --c: #e07a0a; --c2: #f5a533; }
[data-theme="billing"] { --c: #2563c9; --c2: #4f8ff0; }
[data-theme="dues"]    { --c: #0e9a83; --c2: #34c3a7; }
[data-theme="reports"] { --c: #7046c8; --c2: #9a77ea; }
[data-theme] { --tint: var(--paper); --tint: color-mix(in srgb, var(--c) 8%, var(--paper));
  --chip: var(--teal-soft); --chip: color-mix(in srgb, var(--c) 15%, var(--paper)); }

/* The groups: a tinted panel each (also how they look without JavaScript, one under the other). */
.fgroup[data-theme] { background: var(--tint); border-radius: 24px; padding: 26px; }
.fgroup-title { display: flex; align-items: center; gap: 10px; color: var(--c, var(--navy-2)); }
.gi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--c); color: #fff; flex: none; }
.gi svg { width: 19px; height: 19px; }
.fgroup[data-theme] + .fgroup[data-theme] { margin-top: 20px; }
.ftabs.on .fgroup[data-theme] + .fgroup[data-theme] { margin-top: 0; }

/* The tab bar: four equal tabs across the whole section. */
.ftabs.on .ftab-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; gap: 8px; padding: 8px; margin-bottom: 16px;
  border-radius: 20px; border: 0; background: var(--paper); box-shadow: 0 10px 30px rgba(11,42,91,.08); overflow: visible; }
.ftabs.on .ftab { justify-content: flex-start; gap: 10px; padding: 12px; border-radius: 14px; font-size: 15px; color: var(--ink);
  white-space: normal; text-align: left; line-height: 1.2; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.ftab .ti { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--chip); color: var(--c); }
.ftab .ti svg { width: 21px; height: 21px; }
.ftab .tl { flex: 1; min-width: 0; }
.ftabs.on .ftab .n { margin-left: auto; background: var(--chip); color: var(--c); }
.ftabs.on .ftab:hover { background: var(--tint); color: var(--ink); }
.ftabs.on .ftab[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); box-shadow: 0 10px 22px color-mix(in srgb, var(--c) 35%, transparent); }
.ftabs.on .ftab[aria-selected="true"] .ti { background: rgba(255,255,255,.22); color: #fff; }
.ftabs.on .ftab[aria-selected="true"] .n { background: #fff; color: var(--c); }

/* Cards: white on the tint, no border, the group's colour on the icon. */
.fgroup[data-theme] .f { border: 0; border-radius: 18px; padding: 22px; box-shadow: 0 6px 18px rgba(11,42,91,.07); }
.fgroup[data-theme] .f .ic, .fgroup[data-theme] .f:nth-child(even) .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--chip); color: var(--c); }
.fgroup[data-theme] .f h3 { font-size: 17.5px; font-weight: 800; color: var(--ink); }
.fgroup[data-theme] .f p { font-size: 15px; color: var(--ink); opacity: .78; }
.fgroup[data-theme] .f:hover { box-shadow: 0 16px 34px rgba(11,42,91,.13); }
.fgroup[data-theme] .farrow { border: 0; color: var(--c); box-shadow: 0 6px 16px rgba(11,42,91,.10); }
.fgroup[data-theme] .farrow:hover:not(:disabled) { color: #fff; background: var(--c); }
.fgroup[data-theme] .fdot { background: color-mix(in srgb, var(--c) 25%, var(--paper)); }
.fgroup[data-theme] .fdot.on { background: var(--c); }
.fgroup[data-theme] .frow:focus-visible, .ftabs.on .ftab:focus-visible { outline-color: var(--c); }

@media (max-width: 900px) {
  .ftabs.on .ftab { font-size: 14.5px; gap: 10px; padding: 10px 12px; }
  .ftab .ti { width: 32px; height: 32px; border-radius: 10px; }
  .ftab .ti svg { width: 18px; height: 18px; }
}
@media (max-width: 760px) { .ftabs.on .ftab-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) {
  .fgroup[data-theme] { padding: 16px; border-radius: 20px; }
  .ftabs.on .ftab-bar { padding: 6px; gap: 6px; border-radius: 16px; }
  .ftabs.on .ftab { font-size: 13.5px; gap: 8px; padding: 9px 10px; border-radius: 12px; }
  .ftab .ti { width: 28px; height: 28px; border-radius: 9px; }
  .ftab .ti svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ftabs.on .ftab { transition: none; } }

/* Feature cards with a backdrop (img/cards, made by BasicBilling's tools/web_cards.py from blurred app screens):
   the picture shows at the top and fades into the card, so the title and text stay crisp. Without the picture the
   card's top is the tab's tint. */
.bg-ewb { --img: url("/bill-saathi-site/img/cards/ewb.jpg"); }
.bg-po-invoice { --img: url("/bill-saathi-site/img/cards/po-invoice.jpg"); }
.bg-po-record { --img: url("/bill-saathi-site/img/cards/po-record.jpg"); }
.bg-references { --img: url("/bill-saathi-site/img/cards/references.jpg"); }
.bg-bill-kinds { --img: url("/bill-saathi-site/img/cards/bill-kinds.jpg"); }
.bg-gst { --img: url("/bill-saathi-site/img/cards/gst.jpg"); }
.bg-printers { --img: url("/bill-saathi-site/img/cards/printers.jpg"); }
.bg-numbers { --img: url("/bill-saathi-site/img/cards/numbers.jpg"); }
.bg-billwise { --img: url("/bill-saathi-site/img/cards/billwise.jpg"); }
.bg-statement { --img: url("/bill-saathi-site/img/cards/statement.jpg"); }
.bg-brand { --img: url("/bill-saathi-site/img/cards/brand.jpg"); }
.bg-ca-reports { --img: url("/bill-saathi-site/img/cards/ca-reports.jpg"); }
.bg-backup { --img: url("/bill-saathi-site/img/cards/backup.jpg"); }
.bg-data { --img: url("/bill-saathi-site/img/cards/data.jpg"); }
.fgroup[data-theme] .f { position: relative; overflow: hidden; padding: 140px 22px 22px;
  background:
    linear-gradient(180deg, transparent 0%, transparent 24%, color-mix(in srgb, var(--paper) 72%, transparent) 44%, var(--paper) 58%),
    var(--img, none) center top / 100% auto no-repeat,
    var(--chip); }
.fgroup[data-theme] .f::before { content: ""; position: absolute; left: 22px; top: 18px; width: 30px; height: 4px; border-radius: 4px; background: var(--c); }
.fgroup[data-theme] .f h3 { font-size: 18px; letter-spacing: -.005em; margin-bottom: 8px; }
.fgroup[data-theme] .f p { opacity: .82; }
@media (max-width: 540px) { .fgroup[data-theme] .f { padding-top: 116px; } }

/* The main screenshot: the spotlights' frame and glow, without the tilt. */
.hero-shot { position: relative; border: 0; border-radius: 22px; padding: 12px; background: var(--paper);
  box-shadow: 0 30px 60px rgba(11,42,91,.18), 0 2px 6px rgba(11,42,91,.08); }
.hero-shot::before { content: ""; position: absolute; inset: 6% 3% -3% 3%; z-index: -1; border-radius: 34px; filter: blur(40px); opacity: .45;
  background: linear-gradient(120deg, #3f7fe0, #12a58f 55%, #ffb53d); }
.hero-shot img { border-radius: 12px; }
.hero-shot figcaption { text-align: center; padding-top: 12px; }

/* Teaser pop-up (popup.js), as on the TBB site */
.teaser-pop { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(15, 23, 42, 0); pointer-events: none; visibility: hidden; transition: background 300ms, visibility 300ms; }
.teaser-pop.show { background: rgba(15, 23, 42, .62); pointer-events: auto; visibility: visible; }
.teaser-pop .box { position: relative; width: min(560px, calc(100vh - 48px)); max-width: 100%; opacity: 0;
  transform: translateY(24px) scale(.97); transition: transform 380ms cubic-bezier(.2,.8,.2,1), opacity 300ms; }
.teaser-pop.show .box { transform: none; opacity: 1; }
.teaser-pop .box > a { display: block; }
.teaser-pop img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.teaser-pop .x { position: absolute; top: -14px; right: -14px; z-index: 1; width: 34px; height: 34px; padding: 0; border-radius: 50%;
  border: 2px solid #fff; background: #0f172a; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
@media (max-width: 620px) { .teaser-pop .x { top: -12px; right: -6px; } }
@media (prefers-reduced-motion: reduce) { .teaser-pop, .teaser-pop .box { transition: none; } }

/* ---- top menu: pill links (2026-11-09; the same on every DORON site) ---- */
@media (min-width: 901px) {
    .top nav { gap: 4px; padding: 5px; background: linear-gradient(180deg, #f8fafc, #eef2f7); border: 1px solid #e2e8f0;
        border-radius: 999px; box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06); }
    .top nav a:not(.btn) { padding: 8px 16px; border-radius: 999px; color: #1e293b; font-weight: 600; font-size: 14.5px;
        transition: background 0.15s, color 0.15s, box-shadow 0.15s; }
    .top nav a:not(.btn):hover { background: #fff; color: #0369a1; box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.2); }
    .top nav .btn { border-radius: 999px; margin-left: 6px; }
}
