/* Raaj Software — neutral ink & stone palette with a single teal accent */
:root {
  --ink: #16181d;
  --ink-2: #2a2e36;
  --text: #2b2f36;
  --muted: #646a74;
  --line: #e4e2dc;
  --bg: #fbfaf7;
  --bg-alt: #f3f1ec;
  --paper: #ffffff;
  --accent: #1f6b64;
  --accent-soft: #e3efed;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 20, 28, .05), 0 8px 24px rgba(16, 20, 28, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1f0ec;
    --ink-2: #d9d7d1;
    --text: #d4d3ce;
    --muted: #9a9ea6;
    --line: #2c3038;
    --bg: #121418;
    --bg-alt: #171a1f;
    --paper: #1b1e24;
    --accent: #5fb3aa;
    --accent-soft: #1d2d2c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  padding: 12px 20px; border-radius: 10px; border: 1px solid transparent; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--ink-2); }
.btn-ghost { border-color: var(--line); background: var(--paper); color: var(--ink); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: 8px 14px; font-size: .88rem; }
.btn:disabled { opacity: .6; cursor: wait; }
.ico { width: 20px; height: 20px; flex-shrink: 0; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: var(--bg); font-weight: 700; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 880px) { .nav-links { display: none; } .nav-inner > .btn { margin-left: auto; } }

/* hero */
.hero { padding: 80px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 1.12rem; color: var(--muted); margin: 20px 0 28px; max-width: 58ch; }
.lead strong { color: var(--ink); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.hero-card-head { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.hero-card-title { margin-left: 8px; font-size: .82rem; color: var(--muted); font-weight: 500; }
.checklist { list-style: none; margin: 0; padding: 12px 20px 18px; }
.checklist li { padding: 10px 0 10px 30px; border-bottom: 1px dashed var(--line); position: relative; color: var(--muted); }
.checklist li:last-child { border-bottom: 0; }
.checklist li b { color: var(--ink); font-weight: 600; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 17px; width: 6px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 900px) { .hero { padding: 48px 0; } .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

/* sections */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head .muted { margin-top: 12px; }
@media (max-width: 720px) { .section { padding: 60px 0; } }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card p { color: var(--muted); }
.card ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: .93rem; }
.card li { padding: 5px 0 5px 18px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 2px; background: var(--accent); border-radius: 2px; }
.card-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 4px; }
.card-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-accent { background: var(--ink); border-color: var(--ink); }
.card-accent h3 { color: var(--bg); }
.card-accent p, .card-accent li { color: color-mix(in srgb, var(--bg) 78%, transparent); }
.card-accent .card-ico { background: color-mix(in srgb, var(--bg) 12%, transparent); }
.card-accent .card-ico svg { stroke: var(--bg); }
.card-accent li::before { background: var(--bg); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* pricing */
.pricing { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.price { color: var(--accent); white-space: nowrap; }
.per { font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-box .muted { margin: 16px 0 24px; max-width: 54ch; }
.price-list { list-style: none; margin: 0; padding: 8px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-list li b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.price-list li.note { border-bottom: 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; gap: 28px; } }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.steps h3 { margin: 12px 0 6px; }
.steps p { color: var(--muted); font-size: .95rem; }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); font-weight: 700; font-size: .9rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* client bar */
.client-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.client-bar .muted { margin-top: 8px; }

/* newsletter */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter .muted { margin-top: 12px; }
.subscribe { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe input[type=email] {
  flex: 1; min-width: 200px; font: inherit; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
}
.subscribe input[type=email]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form-msg { flex-basis: 100%; font-size: .92rem; min-height: 1.4em; }
.form-msg.ok { color: var(--accent); }
.form-msg.err { color: #c0392b; }
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; gap: 24px; } }

/* contact */
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.person, .contact-item { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); text-decoration: none; min-width: 0; }
.person div, .contact-item span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.person b { color: var(--ink); }
.contact-item small { color: var(--muted); font-size: .8rem; }
.contact-item { color: var(--ink); font-weight: 500; transition: border-color .15s; }
.contact-item:hover { border-color: var(--muted); }
.contact-item .ico { color: var(--accent); }
.contact-wa .ico { color: var(--wa); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; flex-shrink: 0; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact { grid-template-columns: 1fr; } }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0 96px; font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 20;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound p { margin: 12px 0 24px; }

/* industries */
.industries { grid-template-columns: repeat(4, 1fr); }
.reading-label { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.card ul.reading { margin: 0; font-size: .9rem; }
.card .reading li { padding: 4px 0 4px 18px; }
.reading a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; overflow-wrap: anywhere; }
.reading a:hover { text-decoration-color: var(--accent); }
.reading a span { display: block; font-size: .8rem; color: var(--muted); }
@media (max-width: 1060px) { .industries { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .industries { grid-template-columns: 1fr; } }

/* about & contact pages */
.page-hero { padding: 72px 0 8px; }
.page-hero .lead { margin-bottom: 0; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.prose h2 { font-size: 1.4rem; margin: 0 0 12px; }
.prose p { color: var(--muted); margin-bottom: 16px; max-width: 65ch; }
.prose p + h2 { margin-top: 36px; }
.about-side { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.about-side .person { padding: 0; border: 0; }
.about-list { padding: 0; }
.contact-hero { display: flex; align-items: center; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--ink); color: var(--bg); text-decoration: none; margin-bottom: 14px; }
.contact-hero .ico { width: 30px; height: 30px; }
.contact-hero span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; font-size: clamp(1.2rem, 3.5vw, 1.8rem); font-weight: 700; letter-spacing: -0.02em; }
.contact-hero small { font-size: .85rem; font-weight: 500; letter-spacing: 0; opacity: .75; }
.contact-hero:hover { background: var(--ink-2); }
.contact-more { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } .page-hero { padding: 48px 0 0; } }
@media (max-width: 720px) { .contact-more { grid-template-columns: 1fr; } }

/* products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1080px) { .products { grid-template-columns: 1fr 1fr; } }
.product { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.product-head { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.product-url { margin-left: 8px; font-size: .82rem; color: var(--muted); font-weight: 500; overflow-wrap: anywhere; }
.product-body { display: flex; flex-direction: column; gap: 14px; padding: 24px; flex: 1; }
.product-body > p { color: var(--muted); }
.product-title { display: flex; align-items: center; gap: 14px; }
.product-title h3 { font-size: 1.35rem; }
.product-tag { color: var(--accent); font-weight: 600; font-size: .92rem; }
.product-mark { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; }
.product-mark svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Wide cards (Raaj Support, Chhatti): full width under the 3-column grid; normal cards in the 2-column layout */
@media (min-width: 1081px) { .product-wide { grid-column: 1 / -1; } }
.product-features { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.product-features li { padding: 5px 0 5px 18px; position: relative; }
.product-features li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 2px; background: var(--accent); border-radius: 2px; }
.product-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.product-price { font-weight: 600; color: var(--ink); font-size: .95rem; }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }
