/* Inai CRM — public marketing site (inaicrm.in). No JavaScript; mobile-first. */
:root {
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --brand-900: #312e81;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --green: #059669;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 8px 24px rgb(15 23 42 / 0.06);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, "Noto Sans Devanagari", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 5; background: rgb(255 255 255 / 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); display: grid; place-items: center; color: #fff; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a.link { color: var(--ink-2); font-size: 15px; font-weight: 500; }
@media (max-width: 760px) { .nav a.link { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: background .15s, box-shadow .15s; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 6px 16px rgb(79 70 229 / 0.25); }
.btn-primary:hover { background: var(--brand-700); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-sm { padding: 9px 14px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 500px at 80% -10%, var(--brand-100), transparent 60%), linear-gradient(var(--bg-soft), #fff); padding: 64px 0 48px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; } .hero { padding: 88px 0 72px; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-200); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); }
.hero h1 em { font-style: normal; color: var(--brand-600); }
.lead { font-size: clamp(17px, 2.2vw, 19px); color: var(--ink-2); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.fine { font-size: 14px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--ink-2); }
.ticks li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 6px; }

/* product mock (pure HTML/CSS, mirrors the real dashboard) */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 60px rgb(49 46 129 / 0.15); overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock-body { padding: 18px; display: grid; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kpi small { color: var(--muted); font-size: 12px; display: block; }
.kpi b { font-size: 20px; }
.pipe { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.pipe small { color: var(--muted); font-size: 12px; }
.bar { height: 8px; border-radius: 99px; background: var(--brand-100); margin-top: 6px; overflow: hidden; }
.sources { display: grid; gap: 8px; margin-top: 8px; font-size: 13px; }
.w78 { width: 78%; } .w56 { width: 56%; } .w34 { width: 34%; }
.section-head-tail { margin-top: 56px; margin-bottom: 0; }
.pt-0 { padding-top: 0; }
.cta-center { justify-content: center; margin-bottom: 0; }
.bar span { display: block; height: 100%; background: var(--brand-500); border-radius: 99px; }
.wa { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 13px; }
.bubble { max-width: 85%; padding: 8px 10px; border-radius: 12px; }
.bubble.in { background: var(--bg-soft); align-self: flex-start; }
.bubble.out { background: #dcfce7; align-self: flex-end; }

/* ---------- sections ---------- */
section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 88px 0; } }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); }
.section-head p { color: var(--ink-2); font-size: 17px; }
.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.audience { display: grid; gap: 16px; }
@media (min-width: 760px) { .audience { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; }
.card p { color: var(--ink-2); margin: 0; font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; margin-bottom: 14px; }

.features { display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }

.journey { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 900px) { .journey { grid-template-columns: repeat(5, 1fr); } }
.journey li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.journey li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-600); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.journey b { display: block; margin-bottom: 4px; }
.journey span { font-size: 14px; color: var(--ink-2); }

.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.lang { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 600; }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--brand-500); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 28px; background: var(--brand-600); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; margin-bottom: 4px; }
.plan .seats { color: var(--muted); font-size: 14px; }
.price { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; margin: 16px 0 0; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .gst { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; align-content: start; font-size: 15px; color: var(--ink-2); flex: 1; }
.plan li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }
.plan .btn { width: 100%; }
.pricing-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 24px; }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-600); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* ---------- final cta + footer ---------- */
.final { background: linear-gradient(135deg, var(--brand-700), var(--brand-900)); color: #fff; text-align: center; border-radius: 24px; padding: 48px 24px; }
.final h2 { font-size: clamp(26px, 4vw, 36px); }
.final p { color: var(--brand-100); }
.final .btn-primary { background: #fff; color: var(--brand-700); box-shadow: none; }
.final .btn-primary:hover { background: var(--brand-50); }

footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px 24px; }
footer a { color: var(--ink-2); }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 16px 72px; }
.legal h1 { font-size: clamp(28px, 5vw, 40px); }
.legal h2 { font-size: 21px; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-2); }
.legal .updated { color: var(--muted); font-size: 14px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1em 0; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }

.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 16px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
