/* CashLekha website. No external fonts or scripts: the privacy policy promises no third-party requests. */
:root {
  --blue: #1a73e8;
  --blue-dark: #1557b0;
  --navy: #0f1e3d;
  --saffron: #f08a24;
  --saffron-soft: #fff1e0;
  --maroon: #8b1a1a;
  --gold: #d9a441;
  --cream: #fffbf3;
  --paper: #ffffff;
  --text: #1d2433;
  --muted: #5b6475;
  --line: #e7e2d8;
  --green: #1e8e4f;
  --green-soft: #e6f4ec;
  --red: #c62828;
  --red-soft: #fbe9e9;
  --radius: 18px;
  --shadow: 0 8px 28px rgba(15, 30, 61, 0.08);
  --font: "Noto Sans Devanagari", "Noto Sans", "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { color: var(--navy); line-height: 1.3; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 0 0 0.8rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* header */
.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 251, 243, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1.25rem; }
.brand img { width: 36px; height: 36px; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.menu a { color: var(--navy); text-decoration: none; font-weight: 500; }
.menu a:hover { color: var(--blue); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; background: #fff; }
.menu-toggle { display: none; }
@media (max-width: 760px) {
  .menu { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 10px; padding: 8px 0 14px; }
  .top .wrap { flex-wrap: wrap; }
  .menu-toggle { display: inline-block; margin-left: auto; font-size: 1rem; padding: 6px 12px; border: 1px solid var(--line);
    border-radius: 10px; background: #fff; color: var(--navy); }
  #nav:checked ~ .menu { display: flex; }
}
#nav { display: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-wa { background: #25d366; color: #073b1d; }
.btn-wa:hover { background: #1fb457; color: #04260f; }
.btn[aria-disabled="true"] { background: #dfe3ea; color: #6b7280; cursor: default; }

/* hero */
.hero { padding: 56px 0 40px; background:
  radial-gradient(1200px 400px at 85% -10%, rgba(240, 138, 36, 0.16), transparent 60%),
  radial-gradient(900px 400px at -10% 10%, rgba(26, 115, 232, 0.10), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.4rem; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.pill { display: inline-block; background: var(--saffron-soft); color: #9a4b00; border-radius: 999px; padding: 4px 14px;
  font-weight: 600; font-size: 0.9rem; margin-bottom: 14px; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 0.95rem; }
.trust span::before { content: "✓ "; color: var(--green); font-weight: 700; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* sections */
section.block { padding: 56px 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.sub { color: var(--muted); max-width: 720px; margin: 0 auto 2rem; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem;
  background: var(--saffron-soft); margin-bottom: 12px; }
.card p { margin: 0; color: var(--muted); }
.problem { border-left: 4px solid var(--red); }
.solution { border-left: 4px solid var(--green); }
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 34px; }
.steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: -16px; left: 22px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* phone mock-ups (drawn in HTML: no screenshots needed) */
.phone { width: 300px; max-width: 100%; margin: 0 auto; background: var(--navy); border-radius: 36px; padding: 12px;
  box-shadow: 0 24px 60px rgba(15, 30, 61, 0.25); }
.screen { background: #f6f8fc; border-radius: 26px; padding: 16px; min-height: 520px; font-size: 0.82rem; }
.screen .bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: var(--navy); font-weight: 700; }
.screen .box { background: #fff; border-radius: 16px; padding: 12px; margin-bottom: 10px; border: 1px solid #e8ecf3; }
.screen .box h4 { margin: 0 0 8px; color: var(--navy); font-size: 0.9rem; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { border-radius: 12px; padding: 8px 10px; }
.tile small { display: block; color: var(--muted); }
.tile b { font-size: 1.05rem; }
.t-in { background: var(--green-soft); } .t-in b { color: var(--green); }
.t-out { background: var(--red-soft); } .t-out b { color: var(--red); }
.t-due { background: #fff3dc; } .t-due b { color: #b26a00; }
.t-cash { background: #eef1f6; }
.screen .fab { margin: 14px auto 0; width: 54px; height: 54px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 6px 16px rgba(26, 115, 232, 0.4); }
.receipt { background: #fff8e7; border: 2px solid var(--maroon); border-radius: 6px; padding: 14px; color: #3b1f0b;
  box-shadow: var(--shadow); font-size: 0.9rem; }
.receipt .shlok { text-align: center; color: var(--maroon); }
.receipt .name { text-align: center; color: var(--maroon); font-weight: 700; font-size: 1.1rem; }
.receipt .orn { text-align: center; color: var(--gold); }
.receipt .row { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--gold); padding: 4px 0; }
.stamp { display: inline-block; margin-top: 10px; border: 2px solid var(--green); color: var(--green); border-radius: 6px;
  padding: 2px 10px; transform: rotate(-4deg); font-weight: 700; }

/* pricing */
.price { text-align: center; }
.price .amount { font-size: 2rem; font-weight: 800; color: var(--navy); }
.price ul { text-align: left; padding-left: 1.2rem; color: var(--muted); }
.price.featured { border: 2px solid var(--saffron); }

/* FAQ */
details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; color: var(--navy); }
details p { color: var(--muted); margin: 10px 0 0; }

/* legal + contact pages */
.doc { max-width: 820px; margin: 0 auto; padding: 40px 20px 60px; }
.doc h1 { margin-bottom: 0.2rem; }
.doc .meta { color: var(--muted); margin-bottom: 1.6rem; }
.doc h2 { font-size: 1.3rem; margin-top: 2rem; }
.doc p, .doc li { color: #2b3242; }
.doc .note { background: var(--saffron-soft); border-radius: 12px; padding: 12px 16px; }
.doc table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: #f4efe4; color: var(--navy); }
.placeholder { background: #fff3c4; padding: 0 4px; border-radius: 4px; }

form.contact { display: grid; gap: 14px; }
form.contact label { font-weight: 600; color: var(--navy); display: block; margin-bottom: 4px; }
form.contact input, form.contact select, form.contact textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cfd6e3; border-radius: 12px; font: inherit; background: #fff;
}
form.contact input:focus, form.contact select:focus, form.contact textarea:focus { outline: 3px solid rgba(26, 115, 232, 0.25); border-color: var(--blue); }
.errorlist { color: var(--red); margin: 4px 0 0; padding: 0; list-style: none; font-size: 0.92rem; }
.hp { position: absolute; left: -5000px; height: 0; overflow: hidden; }
.ok { background: var(--green-soft); border: 1px solid #b7dfc8; border-radius: 14px; padding: 16px 18px; color: #0f5132; }
.warn { background: var(--red-soft); border: 1px solid #f1c3c3; border-radius: 14px; padding: 16px 18px; color: #7f1d1d; }

/* footer */
footer { background: var(--navy); color: #c9d3e6; padding: 40px 0 28px; margin-top: 20px; }
footer a { color: #e6ecf7; text-decoration: none; }
footer a:hover { text-decoration: underline; color: #fff; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer h4 { color: #fff; margin: 0 0 10px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 6px 0; }
footer .fine { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 26px; padding-top: 16px; font-size: 0.9rem; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .doc table { display: block; overflow-x: auto; font-size: 0.9rem; }
  body { font-size: 16px; }
}
