/*
 * 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%; }
.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; }
}
