:root{
  --bg:#f7f8fc;--surface:#ffffff;--ink:#141a33;--muted:#5b6380;--line:#e4e7f2;
  --brand:#3b3fd8;--brand-2:#6d4aff;--accent:#ff8a3d;--soft:#eef0ff;
  --radius:16px;--shadow:0 6px 24px rgba(20,26,51,.07);
}
@media (prefers-color-scheme:dark){:root{
  --bg:#0e1122;--surface:#161a31;--ink:#eef0fa;--muted:#a3a9c6;--line:#262b47;
  --brand:#8b8fff;--brand-2:#a98bff;--soft:#1e2342;--shadow:0 6px 24px rgba(0,0,0,.3);
}}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Hind Siliguri',system-ui,sans-serif;background:var(--bg);color:var(--ink);line-height:1.75;font-size:17px}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block}
.wrap{max-width:1140px;margin:0 auto;padding:0 18px}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--surface) 88%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;height:66px}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:21px;color:var(--ink)}
.logo:hover{text-decoration:none}
.logo-mark{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,var(--brand),var(--brand-2));display:grid;place-items:center;color:#fff;font-size:18px}
.logo span b{color:var(--brand)}
.menu{display:flex;gap:6px;list-style:none}
.menu a{color:var(--muted);padding:8px 14px;border-radius:10px;font-weight:500}
.menu a:hover,.menu a.active{background:var(--soft);color:var(--brand);text-decoration:none}
.menu-btn{display:none;background:none;border:1px solid var(--line);border-radius:10px;padding:6px 12px;font-size:20px;color:var(--ink);cursor:pointer}
@media (max-width:760px){
  .menu-btn{display:block}
  .menu{display:none;position:absolute;top:66px;left:0;right:0;flex-direction:column;background:var(--surface);border-bottom:1px solid var(--line);padding:10px 18px}
  .menu.open{display:flex}
}

/* hero */
.hero{padding:70px 0 50px;text-align:center;background:radial-gradient(900px 380px at 50% -10%,var(--soft),transparent)}
.badge{display:inline-block;background:var(--soft);color:var(--brand);font-weight:600;font-size:14px;padding:6px 14px;border-radius:99px;margin-bottom:18px}
.hero h1{font-size:clamp(30px,5vw,50px);line-height:1.3;margin-bottom:14px}
.hero h1 em{font-style:normal;background:linear-gradient(90deg,var(--brand),var(--brand-2));-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{color:var(--muted);max-width:640px;margin:0 auto 28px;font-size:18px}
.search{max-width:560px;margin:0 auto;display:flex;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);overflow:hidden}
.search input{flex:1;border:0;background:transparent;padding:15px 18px;font:inherit;color:var(--ink);outline:none}
.search button{border:0;background:var(--brand);color:#fff;font:inherit;font-weight:600;padding:0 22px;cursor:pointer}
.stats{display:flex;justify-content:center;gap:34px;margin-top:30px;flex-wrap:wrap;color:var(--muted);font-size:15px}
.stats b{display:block;color:var(--ink);font-size:24px}

/* sections */
section{padding:46px 0}
.sec-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:22px;flex-wrap:wrap}
.sec-head h2{font-size:28px;line-height:1.3}
.sec-head p{color:var(--muted)}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
.chip{border:1px solid var(--line);background:var(--surface);color:var(--muted);font:inherit;font-size:15px;padding:6px 16px;border-radius:99px;cursor:pointer}
.chip.on{background:var(--brand);border-color:var(--brand);color:#fff}

.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);transition:transform .2s,border-color .2s;display:flex;flex-direction:column}
.card:hover{transform:translateY(-3px);border-color:var(--brand)}
.card .ico{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;font-size:23px;background:var(--soft);margin-bottom:14px}
.card h3{font-size:19px;margin-bottom:4px}
.card p{color:var(--muted);font-size:15.5px;flex:1}
.tag{display:inline-block;align-self:flex-start;font-size:13px;font-weight:600;color:var(--brand);background:var(--soft);padding:2px 10px;border-radius:99px;margin-bottom:10px}
.card .more{margin-top:14px;font-weight:600;font-size:15px}
.free{color:#14955b}

.post-card{padding:0;overflow:hidden}
.post-card .thumb{height:150px;display:grid;place-items:center;font-size:52px;background:linear-gradient(135deg,var(--soft),color-mix(in srgb,var(--brand-2) 22%,var(--soft)))}
.post-card .body{padding:20px;display:flex;flex-direction:column;flex:1}
.meta{color:var(--muted);font-size:14px;margin-bottom:6px}

.cta{background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;border-radius:22px;padding:40px;text-align:center}
.cta h2{font-size:26px;margin-bottom:8px}
.cta p{opacity:.9;margin-bottom:18px}
.btn{display:inline-block;background:#fff;color:var(--brand);font-weight:700;padding:11px 26px;border-radius:12px}
.btn:hover{text-decoration:none;opacity:.92}

/* ad slot – shows nothing until AdSense fills it */
.ad-slot{margin:26px auto;text-align:center;min-height:0}

/* article / static pages */
.page{max-width:780px;margin:0 auto;padding:46px 18px 60px}
.crumb{font-size:14px;color:var(--muted);margin-bottom:14px}
.page h1{font-size:clamp(28px,4.5vw,40px);line-height:1.35;margin-bottom:10px}
.page .lead{font-size:19px;color:var(--muted);margin-bottom:26px}
.page h2{font-size:24px;margin:34px 0 10px;line-height:1.4}
.page h3{font-size:20px;margin:24px 0 8px}
.page p,.page li{margin-bottom:12px}
.page ul,.page ol{padding-left:24px;margin-bottom:14px}
.note{background:var(--soft);border-left:4px solid var(--brand);padding:14px 18px;border-radius:10px;margin:20px 0}
.author{display:flex;gap:14px;align-items:center;border:1px solid var(--line);border-radius:var(--radius);padding:18px;margin-top:40px;background:var(--surface)}
.author .av{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,var(--brand),var(--accent));display:grid;place-items:center;color:#fff;font-size:22px;flex:none}
.contact-box{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin:18px 0}

/* footer */
footer{background:var(--surface);border-top:1px solid var(--line);margin-top:30px;padding:46px 0 24px;font-size:15.5px}
.foot{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}
.foot h4{margin-bottom:10px;font-size:17px}
.foot ul{list-style:none}
.foot li{margin-bottom:6px}
.foot a{color:var(--muted)}
.foot p{color:var(--muted)}
.copy{border-top:1px solid var(--line);margin-top:30px;padding-top:18px;color:var(--muted);text-align:center;font-size:14px}
@media (max-width:760px){.foot{grid-template-columns:1fr}}
.ph{font-size:30px;line-height:1.3}
.shot{margin:22px 0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#000}
.shot img{width:100%;height:auto}
.shot figcaption{background:var(--surface);color:var(--muted);font-size:14px;padding:10px 14px;border-top:1px solid var(--line)}
.page code{background:var(--soft);padding:1px 6px;border-radius:6px;font-size:.92em}
.cmp{width:100%;border-collapse:collapse;margin:16px 0;font-size:15.5px;background:var(--surface)}
.cmp th,.cmp td{border:1px solid var(--line);padding:9px 12px;text-align:left;vertical-align:top}
.cmp th{background:var(--soft)}
