:root {
    --blue: #1d6fe0;
    --blue-d: #1553b3;
    --blue-soft: #e6effd;
    --green: #18b260;
    --green-d: #12894a;
    --green-soft: #e3f6ea;
    --navy: #0d1b3e;
    --body: #46546e;
    --muted: #7a889f;
    --line: #e1e8f3;
    --bg: #f6f9ff;
    --shadow-sm: 0 6px 18px rgba(20, 50, 110, 0.06);
    --shadow-md: 0 16px 40px rgba(20, 50, 110, 0.10);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--body); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--navy); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; z-index: 200; }
.skip:focus { left: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 14px; font-weight: 700; font-size: 15.5px; line-height: 1; transition: transform .18s ease, background .18s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(29, 111, 224, 0.32); }
.btn-primary:hover { background: var(--blue-d); }
.btn-white { background: #fff; color: var(--navy); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.brand .mark img { width: 60%; height: auto; }
.brand .name { font-weight: 800; font-size: 23px; letter-spacing: -0.04em; line-height: 1; display: block; }
.brand .name .b { color: var(--blue); } .brand .name .k { color: var(--green); }
.brand .tag { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.26em; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a.nav-link { padding: 9px 13px; font-size: 15px; font-weight: 600; color: var(--body); border-radius: 10px; }
.nav a.nav-link:hover, .nav a.nav-link.on { color: var(--navy); background: var(--bg); }
.nav .btn { margin-left: 10px; padding: 12px 18px; }

/* Language switch */
.lang { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; margin-left: 8px; font-size: 13.5px; font-weight: 700; line-height: 1; white-space: nowrap; }
.lang .cur { background: var(--navy); color: #fff; padding: 7px 11px; border-radius: 999px; }
.lang a { padding: 7px 11px; color: var(--body); border-radius: 999px; }
.lang a:hover { color: var(--blue); background: var(--bg); }

/* Hindi typography: Devanagari needs more line height and no negative tracking */
html[lang="hi"] body { font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', system-ui, sans-serif; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] h4 { letter-spacing: 0; line-height: 1.35; }
html[lang="hi"] .article p, html[lang="hi"] .article li { line-height: 1.85; }

/* Blog index */
.blog-hero { padding: 72px 0 56px; background: radial-gradient(800px 500px at 90% 0%, #dfeaff, transparent 70%), linear-gradient(180deg, #f6f9ff, #fff); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.blog-hero h1 { font-size: clamp(36px, 5vw, 58px); letter-spacing: -0.04em; margin-top: 14px; max-width: 820px; }
.blog-hero p { margin-top: 18px; font-size: 19px; max-width: 640px; }
.posts { padding: 24px 0 96px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cddaf0; }
.pcard.feature { grid-column: span 3; flex-direction: row; }
.post-grid.cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-grid.cols2 .pcard.feature { grid-column: span 2; }
.pcard.feature .cover { flex: 0 0 54%; aspect-ratio: auto; }
.pcard.feature .pbody { justify-content: center; padding: 32px; }
.pcard.feature p { flex: none; }
.pcard.feature h2 { font-size: clamp(24px, 2.6vw, 34px); }
.cover { aspect-ratio: 1200 / 630; background: var(--bg); overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .cover img { transform: scale(1.03); }
.pbody { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pmeta { font-size: 13px; font-weight: 700; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.pmeta .cat { color: var(--blue); background: var(--blue-soft); padding: 3px 10px; border-radius: 999px; }
.pcard h2 { font-size: 21px; margin-top: 14px; }
.pcard p { margin-top: 10px; font-size: 15.5px; flex: 1; }
.pcard .more { margin-top: 18px; font-weight: 700; color: var(--blue); font-size: 15px; }

/* Article */
.article-head { padding: 56px 0 44px; background: radial-gradient(800px 500px at 90% 0%, #dfeaff, transparent 70%), linear-gradient(180deg, #f6f9ff, #fff); }
.narrow { max-width: 780px; margin: 0 auto; }
.crumbs { font-size: 14px; font-weight: 600; color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.article-head h1 { font-size: clamp(32px, 4.6vw, 50px); letter-spacing: -0.04em; margin-top: 18px; }
.article-head .lead { margin-top: 18px; font-size: 20px; line-height: 1.55; }
.article-head .pmeta { margin-top: 22px; font-size: 14px; }
.article { padding: 12px 0 72px; }
.hero-img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.hero-img img { width: 100%; height: auto; }
.article .narrow > * + * { margin-top: 20px; }
.article h2 { font-size: clamp(25px, 3vw, 32px); margin-top: 52px !important; }
.article h3 { font-size: 21px; margin-top: 34px !important; }
.article p, .article li { font-size: 18px; line-height: 1.72; }
.article strong { color: var(--navy); font-weight: 700; }
.article a.inline { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article ul, .article ol { padding-left: 24px; display: grid; gap: 10px; }
.article ul { list-style: none; padding-left: 0; }
.article ul li { position: relative; padding-left: 30px; }
.article ul li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.article ol li::marker { font-weight: 800; color: var(--blue); }
.note { background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 14px; padding: 18px 22px; }
.note p { font-size: 16.5px; }
.note.tip { border-left-color: var(--green); background: #f1fbf5; border-color: #cfeedd; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg); color: var(--navy); font-weight: 800; font-size: 14.5px; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; color: var(--navy); }
.biz-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.biz-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: #fff; }
.biz-card h3 { font-size: 18px; margin: 0 !important; }
.biz-card p { font-size: 15.5px; line-height: 1.55; margin-top: 6px; }

.cta-box { margin-top: 56px !important; border-radius: 26px; padding: 40px 36px; text-align: center; color: #fff; background: radial-gradient(500px 340px at 10% 0%, #2a7df0, transparent 70%), radial-gradient(500px 360px at 100% 100%, #14a05a, transparent 70%), #10367f; }
.cta-box h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); margin: 0 !important; }
.cta-box p { color: #d6e2f8; margin-top: 12px; font-size: 17px; }
.cta-box .btn { margin-top: 22px; }

.next { padding: 64px 0 88px; background: var(--bg); border-top: 1px solid var(--line); }
.next h2 { font-size: 28px; margin-bottom: 26px; }

footer { background: #0b1632; color: #aab8d6; padding: 44px 0 34px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 30px; }
footer .brand .mark { border: 0; }
footer .brand .name .b { color: #5aa2ff; } footer .brand .name .k { color: #37d67f; }
footer .brand .tag { color: #8497bd; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a:hover { color: #fff; }
footer .copy { width: 100%; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #8497bd; }

@media (max-width: 940px) {
    .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pcard.feature { grid-column: span 2; }
    .nav a.nav-link.hide-m { display: none; }
}
@media (max-width: 620px) {
    body { font-size: 16.5px; }
    .wrap { padding: 0 18px; }
    .brand .tag { display: none; }
    .nav a.nav-link { padding: 9px 9px; }
    .nav .btn { display: none; }
    .lang { margin-left: 4px; }
    .post-grid, .post-grid.cols2, .biz-cards { grid-template-columns: minmax(0, 1fr); }
    .post-grid.cols2 .pcard.feature { grid-column: span 1; }
    .pcard.feature { grid-column: span 1; flex-direction: column; }
    .pcard.feature .cover { flex: none; aspect-ratio: 1200 / 630; }
    .pcard.feature .pbody { padding: 24px; }
    .article p, .article li { font-size: 17px; }
    .cta-box { padding: 32px 22px; }
    .cta-box .btn { white-space: normal; line-height: 1.3; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .pcard { transition: none; }
}
