/* Tel Khata website — clean, light, calm (myBillBook-like feel): white cards, soft grey sections, one blue, one green. */
:root {
  --navy: #0B3D66; --blue: #1B54C4; --teal: #00A889; --green: #0F8A5F; --ink: #14213D; --muted: #5B6B82; --line: #ECEEF2;
  --soft: #F5F6F8; --card: #fff; --blue-bg: #EEF3FD; --warn: #B26A00; --wa: #1FA855;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Noto Sans Bengali", sans-serif;
  color: var(--ink); background: #fff; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.3px; }
h2 { font-size: 34px; margin: 0 0 10px; }
.sub { color: var(--muted); margin: 0 0 34px; font-size: 18px; }
.lead { color: var(--muted); font-size: 19px; }
.noscript { padding: 20px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; border: 1.5px solid var(--blue);
  background: var(--blue); color: #fff; font-weight: 800; text-decoration: none; font-size: 16px; cursor: pointer; white-space: nowrap; box-shadow: 0 6px 16px rgba(27, 84, 196, .2); }
.btn:hover { filter: brightness(1.05); }
.btn.ghost { background: #fff; color: var(--navy); border-color: #DADFE7; box-shadow: none; }
.btn.big { padding: 16px 26px; font-size: 18px; }
.btn.small { padding: 8px 14px; font-size: 14px; box-shadow: none; }
.btn.wa { background: var(--wa); border-color: var(--wa); box-shadow: 0 6px 16px rgba(31, 168, 85, .25); }
.chip { border: 1px solid transparent; background: var(--soft); color: var(--muted); border-radius: 999px; padding: 6px 11px; font-weight: 800; cursor: pointer; font-size: 13px; }
.chip.on { background: var(--blue-bg); color: var(--blue); border-color: #C9D7F5; }

.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topin { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: var(--navy); text-decoration: none; }
.links { display: flex; gap: 22px; margin-left: 18px; }
.links a { color: var(--muted); font-weight: 700; text-decoration: none; font-size: 15px; }
.links a:hover { color: var(--blue); }
.tools { margin-left: auto; display: flex; gap: 6px; align-items: center; }

.hero { background: radial-gradient(1000px 420px at 85% 10%, #EAF7F3 0, rgba(234, 247, 243, 0) 60%), radial-gradient(900px 500px at 10% 0, var(--blue-bg) 0, rgba(238, 243, 253, 0) 60%); }
.heroin { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.badge { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 14px; color: var(--muted); }
.hero h1 { font-size: 54px; margin: 18px 0 14px; letter-spacing: -1px; color: var(--navy); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.ctas.center { justify-content: center; }
.note { color: var(--green); font-weight: 700; margin-top: 16px; }
.heropic { position: relative; display: flex; justify-content: flex-end; min-height: 480px; padding-right: 10px; }
.heropic .phone.mini { position: absolute; left: 8%; bottom: -30px; transform: scale(.66) rotate(-6deg); transform-origin: bottom left; }

.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.proofin { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 18px; padding-bottom: 18px; font-weight: 700; color: var(--navy); font-size: 15px; }
.proofin span { white-space: nowrap; }

.sec { padding: 80px 0; }
.sec.alt { background: var(--soft); }
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.pain { background: #FFF7F6; border: 1px solid #F6DCD8; border-radius: 16px; padding: 20px; }
.pain span { font-size: 28px; }
.pain b { display: block; margin: 8px 0 4px; font-size: 18px; }
.pain p { margin: 0; color: var(--muted); font-size: 15px; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: 0 1px 3px rgba(20, 33, 61, .05); }
.feat .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-bg); display: grid; place-items: center; font-size: 22px; }
.feat h3 { font-size: 19px; margin: 14px 0 6px; color: var(--navy); }
.feat p { margin: 0; color: var(--muted); font-size: 15.5px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split .phone { justify-self: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; position: relative; }
.step em { font-style: normal; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 18px; }
.step h3 { margin: 14px 0 6px; color: var(--navy); }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
.safeh { margin: 26px 0 8px; color: var(--navy); }
.safe { padding-left: 20px; color: var(--muted); margin: 0; }
.safe li { margin-bottom: 6px; }
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 18px; justify-content: center; }
.price { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; text-align: center; }
.price.main { border: 2px solid var(--blue); box-shadow: 0 12px 30px rgba(27, 84, 196, .12); }
.price .tag { font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; font-size: 13px; }
.price b { display: block; font-size: 44px; color: var(--navy); margin: 8px 0; }
.price p { color: var(--muted); }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; }
.faq summary::after { content: '+'; float: right; color: var(--blue); font-size: 22px; line-height: 1; }
.faq[open] summary::after { content: '−'; }
.faq p { margin: 0 0 16px; color: var(--muted); }
.cta { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; text-align: center; padding: 70px 0; }
.cta h2 { color: #fff; }
.cta p { opacity: .85; font-size: 19px; }
.cta .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.foot { padding: 26px 0; color: var(--muted); font-size: 14px; text-align: center; }

/* phone drawings */
.phone { width: 290px; border-radius: 38px; background: #1C2433; padding: 12px 10px 18px; box-shadow: 0 30px 60px rgba(20, 33, 61, .22); }
.notch { width: 80px; height: 6px; border-radius: 6px; background: #3A4458; margin: 0 auto 10px; }
.screen { background: #F4F6FA; border-radius: 26px; overflow: hidden; min-height: 470px; }
.appbar { background: var(--navy); color: #fff; font-weight: 800; padding: 14px 16px; font-size: 15px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 12px; }
.kpi { background: #fff; border-radius: 14px; padding: 12px; border: 1px solid var(--line); }
.kpi small { color: var(--muted); font-weight: 700; display: block; font-size: 12px; }
.kpi b { font-size: 17px; color: var(--navy); }
.kpi.green { background: #EAF7F0; border-color: #BFE5D0; } .kpi.green b { color: var(--green); }
.kpi.warn { background: #FFF5E5; border-color: #F3D9A8; } .kpi.warn b { color: var(--warn); }
.bars { margin: 4px 12px; background: #fff; border-radius: 14px; border: 1px solid var(--line); height: 130px; display: flex; align-items: flex-end; gap: 9px; padding: 14px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--blue), #6E95E6); }
.bars i.h48 { height: 48% } .bars i.h55 { height: 55% } .bars i.h62 { height: 62% } .bars i.h66 { height: 66% } .bars i.h70 { height: 70% } .bars i.h74 { height: 74% } .bars i.h80 { height: 80% }
.approve { margin: 12px; background: var(--green); color: #fff; border-radius: 12px; padding: 13px; text-align: center; font-weight: 800; font-size: 14px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.ptile { background: #fff; border-radius: 16px; border: 1px solid #E3E6EC; min-height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; font-size: 14px; text-align: center; padding: 8px; box-shadow: 0 1px 2px rgba(20, 33, 61, .05); }
.ptile span { font-size: 32px; }

@media (max-width: 960px) {
  .heroin { grid-template-columns: 1fr; padding-top: 40px; }
  .heropic { min-height: 0; }
  .heropic .phone.mini { display: none; }
  .hero h1 { font-size: 40px; }
  .feats { grid-template-columns: 1fr 1fr; }
  .pains { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.rev .phone { order: 2; }
  .links { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  h2 { font-size: 27px; }
  .hero h1 { font-size: 34px; }
  .feats, .pains, .steps, .prices { grid-template-columns: 1fr; }
  .sec { padding: 56px 0; }
  .proofin { justify-content: flex-start; }
  .phone { width: 260px; }
}
.prices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price { position: relative; text-align: left; }
.price b small { font-size: 16px; color: var(--muted); font-weight: 700; margin-left: 4px; }
.price b s { font-size: 22px; color: #A0AABB; margin-right: 6px; font-weight: 700; }
.price .yr { color: var(--green); font-weight: 700; margin: 0 0 10px; font-size: 15px; }
.price .launch { color: var(--green); font-weight: 700; font-size: 14px; margin: 0 0 10px; }
.price .pop { position: absolute; top: -12px; right: 18px; background: var(--blue); color: #fff; font-weight: 800; font-size: 12px; border-radius: 999px; padding: 4px 12px; }
.extra { text-align: center; color: var(--muted); font-weight: 700; margin-top: 18px; }
@media (max-width: 960px) { .prices.three { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* Why switch: comparison table (scrolls inside itself on a phone, never the page) */
.cmpwrap { overflow-x: auto; margin-top: 18px; border-radius: 16px; border: 1px solid var(--line, #E3E8F0); background: var(--card, #fff); }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line, #E3E8F0); vertical-align: top; }
.cmp thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #5B6B82); }
.cmp tbody th { font-weight: 700; width: 26%; }
.cmp td { color: var(--muted, #5B6B82); }
.cmp td.us { color: var(--ink, #14213D); font-weight: 600; background: rgba(15, 138, 95, .06); }
.cmp thead th.us { color: #0F8A5F; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }

.foot a { color: var(--muted); }
.legal { padding: 40px 0 70px; }
.legal h1 { color: var(--navy); font-size: 34px; margin: 0 0 6px; }
.legal h2 { color: var(--navy); font-size: 21px; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.legal .upd { color: var(--muted); margin: 0 0 24px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal td, .legal th { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: top; }
.legal .box { background: var(--soft); border-radius: 14px; padding: 16px 18px; }
