@import "fonts.css";

:root{
  --navy:#2E1065;
  --p700:#4B1FA1;
  --p600:#6D28D9;
  --p500:#8B5CF6;
  --p400:#A78BFA;
  --lav100:#EDE9FE;
  --lav50:#F5F3FF;
  --green:#22C55E;
  --ink:#3F3F46;
  --gray:#6B7280;
  --gray2:#52525B;
  --line:#E5E7EB;
  --card-bd:#EEEBF6;
  --foot-bg:#322277;
  --foot-bar:#2C1F6C;
  --foot-txt:#C4BCE4;
  --foot-mut:#A79FCB;
  --container:1122px;
  --pad:20px;
}
*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Roboto',system-ui,-apple-system,Segoe UI,sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{text-decoration:none;color:inherit;}
img{max-width:100%;display:block;}
h1,h2,h3,h4{font-family:'Poppins',sans-serif;margin:0;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;cursor:pointer;}
.wrap{max-width:var(--container);margin:0 auto;padding:0 var(--pad);}
:focus-visible{outline:2px solid var(--p600);outline-offset:2px;border-radius:4px;}

/* ============ BUTTONS (shared) ============ */
.btn{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,var(--p600),var(--p700));color:#fff;border:none;font-family:'Poppins',sans-serif;font-weight:500;font-size:15px;padding:12px 24px;border-radius:10px;box-shadow:0 4px 14px rgba(75,31,161,.22);transition:filter .15s,transform .15s,box-shadow .15s;cursor:pointer;}
.btn:hover{filter:brightness(1.07);transform:translateY(-1px);}
.btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;}
.btn-sm{padding:9px 16px;font-size:13.5px;border-radius:9px;white-space:nowrap;}
.btn-sm svg{width:16px;height:16px;}
.btn-lg{padding:15px 30px;font-size:16px;}
.btn-outline{background:#fff;color:var(--p600);border:1.5px solid var(--card-bd);box-shadow:none;}
.btn-outline:hover{border-color:var(--p400);background:var(--lav50);filter:none;}
.btn-white{background:#fff;color:var(--p700);box-shadow:0 6px 18px rgba(0,0,0,.14);}
.btn-white:hover{background:#F6F3FD;filter:none;}
.btn-ghost{background:transparent;color:var(--p600);box-shadow:none;padding-left:0;padding-right:0;}
.btn-block{width:100%;justify-content:center;}

/* ============ NAV ============ */
header.nav{background:#fff;border-bottom:1px solid #F1EFF7;position:sticky;top:0;z-index:100;}
.nav-inner{display:flex;align-items:center;height:78px;gap:16px;}
.brand{display:flex;align-items:center;gap:9px;flex-shrink:0;}
.brand img{height:44px;width:auto;}
.brand .word{font-family:'Poppins',sans-serif;font-weight:700;font-size:24px;letter-spacing:-.3px;line-height:1;}
.brand .word .a{color:var(--navy);}
.brand .word .b{color:var(--p500);}
nav.main{margin-left:auto;display:none;}
nav.main>ul{display:flex;align-items:center;gap:18px;}
nav.main>ul>li{position:relative;}
nav.main a{font-size:14px;color:var(--ink);display:inline-flex;align-items:center;gap:4px;padding:4px 0;white-space:nowrap;}
nav.main a .chev{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.2;transition:transform .2s;}
nav.main li.has-menu:hover .chev,nav.main li.has-menu:focus-within .chev{transform:rotate(180deg);}
nav.main a.active{color:var(--p600);font-weight:500;position:relative;}
nav.main a.active::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;background:var(--p600);border-radius:2px;}
nav.main a:hover{color:var(--p600);}
/* dropdown */
.dropdown{position:absolute;top:calc(100% + 12px);left:50%;transform:translateX(-50%) translateY(6px);min-width:220px;background:#fff;border:1px solid var(--card-bd);border-radius:12px;box-shadow:0 16px 40px rgba(46,16,101,.14);padding:8px;opacity:0;visibility:hidden;transition:opacity .18s,transform .18s;z-index:120;}
.dropdown::before{content:"";position:absolute;top:-14px;left:0;right:0;height:14px;}
nav.main li.has-menu:hover .dropdown,nav.main li.has-menu:focus-within .dropdown{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}
.dropdown a{display:block;padding:9px 12px;border-radius:8px;font-size:13.5px;color:var(--ink);white-space:nowrap;}
.dropdown a:hover{background:var(--lav50);color:var(--p600);}
.dropdown a.dd-divider{border-top:1px solid var(--card-bd);margin-top:6px;padding-top:12px;font-weight:500;color:var(--p600);}
.nav-actions{display:flex;align-items:center;gap:14px;flex-shrink:0;margin-left:14px;}
.btn-login{background:linear-gradient(135deg,var(--p600),var(--p700));color:#fff;border:none;font-size:14px;font-weight:500;padding:9px 18px;border-radius:9px;box-shadow:0 4px 12px rgba(75,31,161,.25);font-family:'Roboto',sans-serif;display:inline-flex;}
.btn-login:hover{filter:brightness(1.06);}
.icon-search{width:22px;height:22px;stroke:var(--ink);fill:none;stroke-width:2;}
.nav-search-btn{background:none;border:none;padding:0;display:flex;color:var(--ink);}
.nav-search-btn:hover{color:var(--p600);}
.nav-toggle{display:flex;margin-left:auto;background:none;border:none;padding:6px;}
.nav-toggle svg{width:28px;height:28px;stroke:var(--navy);fill:none;stroke-width:2;}
.nav-actions .btn-login{display:none;}

/* header search overlay */
.search-overlay{position:fixed;inset:0;background:rgba(46,16,101,.55);backdrop-filter:blur(3px);z-index:200;display:none;align-items:flex-start;justify-content:center;padding-top:14vh;}
.search-overlay.open{display:flex;}
.search-overlay form{width:min(640px,90vw);display:flex;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.3);}
.search-overlay input{flex:1;border:none;padding:20px 22px;font-size:17px;outline:none;font-family:'Roboto',sans-serif;}
.search-overlay button{border:none;background:linear-gradient(135deg,var(--p600),var(--p700));color:#fff;padding:0 26px;display:flex;align-items:center;}
.search-overlay button svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:2.2;}
.search-close{position:absolute;top:24px;right:28px;background:none;border:none;color:#fff;display:flex;}
.search-close svg{width:30px;height:30px;stroke:#fff;fill:none;stroke-width:2;}

/* mobile menu */
.mobile-menu{display:none;position:fixed;inset:78px 0 0;background:#fff;z-index:150;overflow-y:auto;padding:16px var(--pad) 40px;border-top:1px solid #F1EFF7;}
.mobile-menu.open{display:block;}
.mobile-menu a{display:block;padding:13px 4px;font-size:16px;color:var(--navy);font-weight:500;border-bottom:1px solid #F3F1F9;}
.mobile-menu .mm-sub a{padding-left:18px;font-size:14.5px;color:var(--gray);font-weight:400;}
.mobile-menu .mm-actions{margin-top:20px;display:flex;flex-direction:column;gap:12px;}

/* ============ HERO (home) ============ */
.hero{padding-top:42px;}
.hero-grid{display:grid;grid-template-columns:1fr;row-gap:36px;align-items:start;}
.hero h1{font-weight:700;font-size:36px;line-height:1.18;letter-spacing:-1.2px;}
.hero h1 span{display:block;white-space:nowrap;}
.hero h1 .l1,.hero h1 .l2{color:var(--navy);}
.hero h1 .l3{color:var(--p600);}
.hero .sub{margin:20px 0 0;font-size:16.5px;line-height:1.6;color:var(--gray2);max-width:410px;}
.search-bar{display:flex;margin-top:26px;max-width:436px;box-shadow:0 6px 22px rgba(46,16,101,.06);border-radius:11px;}
.search-bar input{flex:1;border:1px solid var(--line);border-right:none;border-radius:11px 0 0 11px;padding:0 18px;height:52px;font-size:15px;color:#374151;outline:none;font-family:'Roboto',sans-serif;}
.search-bar input::placeholder{color:#9CA3AF;}
.search-bar button{border:none;background:linear-gradient(135deg,var(--p600),var(--p700));width:56px;border-radius:0 11px 11px 0;display:flex;align-items:center;justify-content:center;}
.search-bar button svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:2.2;}
.quicklinks{display:flex;align-items:center;gap:20px;margin-top:34px;flex-wrap:wrap;}
.quicklinks a{display:inline-flex;align-items:center;gap:8px;color:var(--p600);font-size:14.5px;font-weight:500;font-family:'Roboto',sans-serif;}
.quicklinks a svg{width:19px;height:19px;stroke:var(--p600);fill:none;stroke-width:1.9;}
.quicklinks .sep{width:1px;height:17px;background:#D8D3E4;}
.hero-art{width:100%;order:-1;max-width:520px;margin:0 auto;}
.hero-art img{width:100%;height:auto;object-fit:contain;}

/* ============ FEATURE CARDS (home) ============ */
.cards{padding-top:32px;}
.cards-grid{display:grid;grid-template-columns:1fr;gap:24px;}
.card{border:1px solid var(--card-bd);border-radius:14px;background:#fff;padding:18px 20px 16px;text-align:center;box-shadow:0 2px 10px rgba(46,16,101,.03);transition:box-shadow .2s,transform .2s;}
.card:hover{box-shadow:0 12px 28px rgba(46,16,101,.10);transform:translateY(-3px);}
.card .ic{height:44px;display:flex;align-items:center;justify-content:center;margin-bottom:8px;}
.card .ic svg{width:44px;height:44px;stroke:var(--p600);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.card h3{font-weight:600;font-size:17.5px;color:var(--navy);margin-bottom:7px;}
.card p{font-size:12.5px;line-height:1.45;color:var(--gray);margin:0 0 11px;}
.card .lnk{display:inline-flex;align-items:center;gap:7px;color:var(--p600);font-family:'Poppins',sans-serif;font-weight:500;font-size:13.5px;}
.card .lnk svg{width:15px;height:15px;stroke:var(--p600);fill:none;stroke-width:2;}

/* ============ EDUCATION BAND (home) ============ */
.edu{padding-top:30px;}
.edu-band{position:relative;border-radius:16px;background:linear-gradient(115deg,#4B1FA1 0%,#3B1A8A 45%,#2E1065 100%);overflow:hidden;min-height:160px;display:flex;align-items:center;}
.edu-content{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:24px;padding:26px 24px;}
.edu-cap{flex-shrink:0;width:76px;height:76px;border-radius:50%;background:rgba(255,255,255,.13);display:flex;align-items:center;justify-content:center;}
.edu-cap svg{width:40px;height:40px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.edu-text h2{color:#fff;font-weight:700;font-size:31px;letter-spacing:-.4px;margin-bottom:8px;}
.edu-text p{color:rgba(255,255,255,.86);font-size:15px;line-height:1.45;margin:0 0 13px;max-width:326px;}
.btn-portal{display:inline-flex;align-items:center;gap:10px;background:var(--p600);color:#fff;border:none;font-family:'Poppins',sans-serif;font-weight:500;font-size:15px;padding:12px 26px;border-radius:9px;box-shadow:0 6px 16px rgba(0,0,0,.18);}
.btn-portal:hover{background:#7C3AED;}
.btn-portal svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:2;}
.edu-devices{position:absolute;right:24px;bottom:0;top:0;width:560px;max-width:52%;display:none;align-items:flex-end;justify-content:flex-end;z-index:1;pointer-events:none;}
.edu-devices img{height:96%;width:auto;object-fit:contain;object-position:bottom right;}

/* ============ TRUST BADGES (home) ============ */
.trust{padding-top:34px;}
.trust-box{border:1px solid var(--card-bd);border-radius:16px;background:#fff;padding:14px 24px;display:grid;grid-template-columns:1fr;gap:22px;box-shadow:0 2px 10px rgba(46,16,101,.03);}
.trust-item{display:flex;align-items:flex-start;gap:12px;}
.trust-item .tic{flex-shrink:0;width:40px;height:40px;border-radius:50%;background:#F4F1FC;display:flex;align-items:center;justify-content:center;}
.trust-item .tic svg{width:21px;height:21px;stroke:var(--p600);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.trust-item h4{font-weight:600;font-size:14px;color:var(--navy);margin:0 0 3px;line-height:1.2;}
.trust-item p{font-size:11px;line-height:1.35;color:var(--gray);margin:0;}

/* ============ FOOTER ============ */
footer.site{background:var(--foot-bg);margin-top:30px;color:var(--foot-txt);}
.foot-grid{display:grid;grid-template-columns:1fr;gap:30px;padding:30px 0 20px;}
.foot-col h4{color:#fff;font-weight:600;font-size:16px;margin-bottom:12px;font-family:'Poppins',sans-serif;}
.foot-brand .fword{font-family:'Poppins',sans-serif;font-weight:700;font-size:21px;margin-bottom:12px;}
.foot-brand .fword .a{color:#fff;} .foot-brand .fword .b{color:var(--p400);}
.foot-brand p{font-size:13.5px;line-height:1.5;color:var(--foot-txt);margin:0 0 14px;max-width:250px;}
.socials{display:flex;gap:14px;}
.socials a{width:20px;height:20px;color:#D9D4EE;display:flex;}
.socials a:hover{color:#fff;}
.socials svg{width:20px;height:20px;fill:currentColor;}
.foot-col ul li{margin-bottom:5px;}
.foot-col ul a{font-size:14px;line-height:1.3;color:var(--foot-txt);}
.foot-col ul a:hover{color:#fff;}
.contact li{display:flex;align-items:center;gap:11px;font-size:14px;margin-bottom:6px;color:var(--foot-txt);}
.contact li svg{width:17px;height:17px;stroke:var(--p400);fill:none;stroke-width:2;flex-shrink:0;}
.foot-bar{background:var(--foot-bar);border-top:1px solid rgba(255,255,255,.08);}
.foot-bar-inner{display:flex;flex-direction:column;gap:10px;text-align:center;align-items:center;justify-content:space-between;padding:11px 0;font-size:13px;color:var(--foot-mut);}
.foot-bar-inner .links{display:flex;align-items:center;gap:16px;}
.foot-bar-inner .links span{color:rgba(255,255,255,.22);}
.foot-bar-inner .links a:hover{color:#fff;}

/* ============ PAGE HEADER BAND ============ */
.page-head{background:linear-gradient(115deg,#4B1FA1 0%,#3B1A8A 50%,#2E1065 100%);color:#fff;padding:40px 0 44px;position:relative;overflow:hidden;}
.page-head::after{content:"";position:absolute;right:-80px;top:-80px;width:320px;height:320px;background:radial-gradient(circle,rgba(255,255,255,.08),transparent 70%);border-radius:50%;}
.page-head .wrap{position:relative;z-index:1;}
.page-head h1{font-size:27px;font-weight:700;letter-spacing:-.6px;line-height:1.15;}
.page-head .page-sub{margin:12px 0 0;font-size:16.5px;line-height:1.55;color:rgba(255,255,255,.82);max-width:640px;}
.crumbs{display:flex;align-items:center;gap:8px;font-size:13.5px;margin-bottom:16px;color:rgba(255,255,255,.7);}
.crumbs a{color:rgba(255,255,255,.7);}
.crumbs a:hover{color:#fff;}
.crumbs [aria-current]{color:#fff;font-weight:500;}
.crumb-sep{width:15px;height:15px;stroke:rgba(255,255,255,.5);fill:none;stroke-width:2;flex-shrink:0;}

/* ============ SECTION TITLE ============ */
.section{padding:56px 0;}
.section-sm{padding:40px 0;}
.section-head{text-align:center;max-width:640px;margin:0 auto 40px;}
.section-head.left{text-align:left;margin-left:0;}
.eyebrow{display:inline-flex;align-items:center;gap:7px;color:var(--p600);font-family:'Poppins',sans-serif;font-weight:600;font-size:13px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:12px;}
.eyebrow svg{width:16px;height:16px;stroke:var(--p600);fill:none;stroke-width:2;}
.section-head h2{font-size:26px;font-weight:700;color:var(--navy);letter-spacing:-.5px;line-height:1.18;}
.section-head p{margin:14px 0 0;font-size:16px;line-height:1.6;color:var(--gray);}

/* ============ FILTER BAR ============ */
.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:28px;}
.toolbar .filter-search{flex:1;min-width:240px;display:flex;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;}
.toolbar .filter-search input{flex:1;border:none;padding:0 16px;height:46px;font-size:14.5px;outline:none;font-family:'Roboto',sans-serif;color:#374151;}
.toolbar .filter-search button{border:none;background:linear-gradient(135deg,var(--p600),var(--p700));color:#fff;width:50px;display:flex;align-items:center;justify-content:center;}
.toolbar .filter-search button svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2.2;}
.result-count{font-size:14px;color:var(--gray);margin-bottom:20px;}
.result-count strong{color:var(--navy);}
.chips{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:26px;}
.chip{display:inline-flex;align-items:center;gap:7px;padding:8px 15px;border-radius:99px;border:1px solid var(--card-bd);background:#fff;color:var(--ink);font-size:13.5px;font-weight:500;transition:all .15s;}
.chip svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;}
.chip:hover{border-color:var(--p400);color:var(--p600);}
.chip.active{background:linear-gradient(135deg,var(--p600),var(--p700));color:#fff;border-color:transparent;box-shadow:0 4px 12px rgba(75,31,161,.22);}

/* layout with sidebar */
.with-side{display:grid;grid-template-columns:1fr;gap:40px;align-items:start;}
.with-side.left-side{grid-template-columns:1fr;}
.side-card{background:#fff;border:1px solid var(--card-bd);border-radius:14px;padding:22px;margin-bottom:22px;box-shadow:0 2px 10px rgba(46,16,101,.03);}
.side-card h3{font-size:16px;font-weight:600;color:var(--navy);margin-bottom:14px;}
.side-list li{margin-bottom:2px;}
.side-list a{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;border-radius:8px;font-size:14px;color:var(--ink);}
.side-list a:hover,.side-list a.active{background:var(--lav50);color:var(--p600);}
.side-list .cnt{font-size:12px;color:var(--gray);background:#F4F1FC;border-radius:99px;padding:1px 9px;}

/* ============ DOCUMENT / FORM CARDS ============ */
.doc-list{display:flex;flex-direction:column;gap:16px;}
.doc-card{display:flex;flex-wrap:wrap;align-items:center;gap:18px;background:#fff;border:1px solid var(--card-bd);border-radius:14px;padding:18px 20px;box-shadow:0 2px 10px rgba(46,16,101,.03);transition:box-shadow .2s,transform .2s,border-color .2s;}
.doc-card .btn{width:100%;justify-content:center;margin-top:6px;}
.doc-card:hover{box-shadow:0 10px 26px rgba(46,16,101,.09);transform:translateY(-2px);border-color:#E2DCF0;}
.doc-ic{flex-shrink:0;width:52px;height:52px;border-radius:12px;background:var(--lav50);display:flex;align-items:center;justify-content:center;}
.doc-ic .ic{width:26px;height:26px;stroke:var(--p600);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.doc-ic-form{background:#F0FDF4;}
.doc-ic-form .ic{stroke:#16A34A;}
.doc-body{flex:1;min-width:0;}
.doc-body h3{font-size:16.5px;font-weight:600;color:var(--navy);margin:6px 0 5px;line-height:1.25;}
.doc-meta{font-size:12.5px;color:var(--gray);margin:0 0 4px;}
.doc-sum{font-size:13px;color:var(--gray2);margin:0;line-height:1.45;}
.tag{display:inline-block;font-size:11px;font-weight:600;font-family:'Poppins',sans-serif;padding:3px 10px;border-radius:99px;background:var(--lav100);color:var(--p700);letter-spacing:.02em;}
.tag-health{background:#DCFCE7;color:#15803D;}
.tag-life{background:#FEE2E2;color:#B91C1C;}
.tag-income-protection{background:#DBEAFE;color:#1D4ED8;}
.tag-tpd{background:#FEF3C7;color:#B45309;}
.tag-trauma{background:#FCE7F3;color:#BE185D;}
.tag-general{background:#E0E7FF;color:#4338CA;}

/* ============ COMPANY CARDS ============ */
.co-grid{display:grid;grid-template-columns:1fr;gap:22px;}
.co-card{background:#fff;border:1px solid var(--card-bd);border-radius:16px;box-shadow:0 2px 10px rgba(46,16,101,.03);transition:box-shadow .2s,transform .2s;overflow:hidden;}
.co-card:hover{box-shadow:0 14px 30px rgba(46,16,101,.10);transform:translateY(-3px);}
.co-card-link{display:block;padding:24px;}
.co-top{display:flex;align-items:center;gap:14px;margin-bottom:14px;}
.co-logo{flex-shrink:0;width:52px;height:52px;border-radius:13px;display:flex;align-items:center;justify-content:center;color:#fff;font-family:'Poppins',sans-serif;font-weight:700;font-size:18px;}
.co-top h3{font-size:17px;font-weight:600;color:var(--navy);margin-bottom:4px;line-height:1.2;}
.co-rating{display:flex;align-items:center;gap:6px;}
.co-score{font-size:13px;font-weight:600;color:var(--navy);}
.co-count{font-size:12px;color:var(--gray);}
.stars{display:inline-flex;gap:1px;}
.stars span{width:14px;height:14px;display:inline-flex;}
.stars svg{width:14px;height:14px;}
.stars .on svg{fill:#F59E0B;stroke:#F59E0B;}
.stars .off svg{fill:#E5E1EE;stroke:#E5E1EE;}
.co-blurb{font-size:13.5px;line-height:1.5;color:var(--gray2);margin:0 0 14px;}
.co-tags{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:16px;}
.pill{display:inline-block;font-size:11.5px;font-weight:500;padding:4px 11px;border-radius:99px;background:var(--lav50);color:var(--p700);border:1px solid var(--card-bd);}
.co-cta{display:inline-flex;align-items:center;gap:7px;color:var(--p600);font-family:'Poppins',sans-serif;font-weight:500;font-size:13.5px;}
.co-cta svg{width:15px;height:15px;stroke:var(--p600);fill:none;stroke-width:2;}

/* company profile */
.co-hero{display:flex;align-items:flex-start;gap:22px;flex-wrap:wrap;}
.co-hero .co-logo{width:76px;height:76px;font-size:26px;border-radius:18px;}
.co-hero h1{font-size:30px;color:#fff;font-weight:700;margin-bottom:8px;}
.co-hero .co-rating .co-score{color:#fff;}
.co-hero .co-rating .co-count{color:rgba(255,255,255,.75);}
.co-hero-meta{display:flex;gap:20px;flex-wrap:wrap;margin-top:12px;font-size:14px;color:rgba(255,255,255,.85);}
.co-hero-meta span{display:inline-flex;align-items:center;gap:7px;}
.co-hero-meta svg{width:16px;height:16px;stroke:rgba(255,255,255,.8);fill:none;stroke-width:2;}
.prose h2{font-size:22px;color:var(--navy);font-weight:700;margin:30px 0 12px;letter-spacing:-.3px;}
.prose h3{font-size:18px;color:var(--navy);font-weight:600;margin:24px 0 10px;}
.prose p{font-size:15.5px;line-height:1.72;color:#3F3F52;margin:0 0 16px;}
.prose ul{margin:0 0 18px;padding-left:4px;}
.prose ul li{position:relative;padding-left:28px;margin-bottom:10px;font-size:15.5px;line-height:1.6;color:#3F3F52;}
.prose ul li::before{content:"";position:absolute;left:2px;top:8px;width:16px;height:16px;background:var(--lav100);border-radius:50%;}
.prose ul li::after{content:"";position:absolute;left:7px;top:12px;width:6px;height:6px;background:var(--p600);border-radius:50%;}
.prose a{color:var(--p600);font-weight:500;text-decoration:underline;text-underline-offset:2px;}
.prose blockquote{margin:22px 0;padding:16px 22px;background:var(--lav50);border-left:4px solid var(--p600);border-radius:0 10px 10px 0;font-size:15.5px;color:var(--navy);line-height:1.6;}
.proscon{display:grid;grid-template-columns:1fr;gap:18px;margin:24px 0;}
.proscon-col{background:#fff;border:1px solid var(--card-bd);border-radius:14px;padding:20px;}
.proscon-col h4{font-size:15px;font-weight:600;color:var(--navy);margin-bottom:12px;display:flex;align-items:center;gap:8px;}
.proscon-col h4 svg{width:18px;height:18px;fill:none;stroke-width:2;}
.proscon-col.pros h4 svg{stroke:#16A34A;}
.proscon-col.cons h4 svg{stroke:#DC2626;}
.proscon-col li{font-size:13.5px;line-height:1.5;color:var(--gray2);padding-left:24px;position:relative;margin-bottom:9px;}
.proscon-col li svg{position:absolute;left:0;top:2px;width:16px;height:16px;fill:none;stroke-width:2;}
.proscon-col.pros li svg{stroke:#16A34A;}
.proscon-col.cons li svg{stroke:#DC2626;}

/* ============ BLOG ============ */
.blog-grid{display:grid;grid-template-columns:1fr;gap:24px;}
.post-card{background:#fff;border:1px solid var(--card-bd);border-radius:16px;overflow:hidden;box-shadow:0 2px 10px rgba(46,16,101,.03);transition:box-shadow .2s,transform .2s;}
.post-card:hover{box-shadow:0 14px 32px rgba(46,16,101,.11);transform:translateY(-3px);}
.post-thumb{position:relative;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;}
.post-thumb-ic{width:52px;height:52px;stroke:rgba(255,255,255,.9);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.post-cat{position:absolute;top:14px;left:14px;background:rgba(255,255,255,.95);color:var(--p700);font-family:'Poppins',sans-serif;font-weight:600;font-size:11.5px;padding:4px 11px;border-radius:99px;}
.post-body{padding:20px;}
.post-body h3{font-size:18px;font-weight:600;color:var(--navy);line-height:1.3;margin-bottom:9px;}
.post-excerpt{font-size:13.5px;line-height:1.55;color:var(--gray2);margin:0 0 16px;}
.post-meta{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--gray);flex-wrap:wrap;}
.post-meta .mi{width:14px;height:14px;stroke:var(--gray);fill:none;stroke-width:2;}
.post-meta .dot{margin:0 2px;}
/* featured */
.post-featured{grid-column:1/-1;}
.post-featured a{display:grid;grid-template-columns:1fr;}
.post-featured .post-thumb{aspect-ratio:auto;height:100%;min-height:200px;}
.post-featured .post-thumb-ic{width:70px;height:70px;}
.post-featured .post-body{padding:32px 34px;display:flex;flex-direction:column;justify-content:center;}
.post-featured .post-body h3{font-size:26px;letter-spacing:-.3px;margin-bottom:14px;}
.post-featured .post-excerpt{font-size:15px;margin-bottom:20px;}

/* article page */
.article-hero{background:linear-gradient(135deg,var(--p700),#2E1065);color:#fff;padding:44px 0 46px;position:relative;overflow:hidden;}
.article-hero::after{content:"";position:absolute;right:-60px;bottom:-100px;width:340px;height:340px;background:radial-gradient(circle,rgba(255,255,255,.07),transparent 70%);border-radius:50%;}
.article-hero .wrap{position:relative;max-width:820px;z-index:1;}
.article-hero .post-cat{position:static;display:inline-block;margin-bottom:16px;}
.article-hero h1{font-size:27px;font-weight:700;line-height:1.2;letter-spacing:-.5px;max-width:760px;}
.article-meta{display:flex;align-items:center;gap:8px;margin-top:18px;font-size:14px;color:rgba(255,255,255,.85);flex-wrap:wrap;}
.article-meta .mi{width:16px;height:16px;stroke:rgba(255,255,255,.8);fill:none;stroke-width:2;}
.article-wrap{max-width:760px;margin:0 auto;padding:48px var(--pad) 10px;}
.article-share{display:flex;align-items:center;gap:12px;margin-top:36px;padding-top:24px;border-top:1px solid var(--card-bd);}
.article-share span{font-size:14px;color:var(--gray);font-weight:500;}
.article-share a{width:38px;height:38px;border-radius:50%;background:var(--lav50);display:flex;align-items:center;justify-content:center;color:var(--p600);}
.article-share a:hover{background:var(--p600);color:#fff;}
.article-share svg{width:18px;height:18px;fill:currentColor;}

/* ============ EDUCATION PORTAL PAGE ============ */
.res-grid{display:grid;grid-template-columns:1fr;gap:22px;}
.res-card{background:#fff;border:1px solid var(--card-bd);border-radius:16px;padding:24px;box-shadow:0 2px 10px rgba(46,16,101,.03);transition:box-shadow .2s,transform .2s;display:flex;flex-direction:column;}
.res-card:hover{box-shadow:0 14px 30px rgba(46,16,101,.10);transform:translateY(-3px);}
.res-ic{width:50px;height:50px;border-radius:13px;background:linear-gradient(135deg,var(--p600),var(--p700));display:flex;align-items:center;justify-content:center;margin-bottom:16px;}
.res-ic svg{width:24px;height:24px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.res-type{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600;font-family:'Poppins',sans-serif;color:var(--p600);text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px;}
.res-card h3{font-size:17px;font-weight:600;color:var(--navy);line-height:1.3;margin-bottom:9px;}
.res-card p{font-size:13.5px;line-height:1.55;color:var(--gray2);margin:0 0 16px;flex:1;}
.res-foot{display:flex;align-items:center;justify-content:space-between;font-size:12.5px;color:var(--gray);border-top:1px solid var(--card-bd);padding-top:14px;}
.res-foot .lvl{background:var(--lav50);color:var(--p700);padding:3px 10px;border-radius:99px;font-weight:500;}

/* stat band */
.stats{display:grid;grid-template-columns:1fr;gap:24px;text-align:center;}
.stat h3{font-size:38px;font-weight:700;color:var(--p600);letter-spacing:-1px;font-family:'Poppins',sans-serif;}
.stat p{font-size:14px;color:var(--gray);margin:6px 0 0;}

/* ============ AUTH (login / register) ============ */
.auth-wrap{min-height:calc(100vh - 78px);display:flex;align-items:center;justify-content:center;padding:48px var(--pad);background:linear-gradient(160deg,var(--lav50),#fff 60%);}
.auth-card{width:100%;max-width:440px;background:#fff;border:1px solid var(--card-bd);border-radius:20px;padding:28px 22px;box-shadow:0 20px 60px rgba(46,16,101,.10);}
.auth-card .brand{justify-content:center;margin-bottom:8px;}
.auth-card h1{font-size:25px;font-weight:700;color:var(--navy);text-align:center;margin-bottom:6px;}
.auth-card .auth-sub{text-align:center;font-size:14.5px;color:var(--gray);margin-bottom:26px;}
.auth-alt{text-align:center;font-size:14px;color:var(--gray);margin-top:22px;}
.auth-alt a{color:var(--p600);font-weight:500;}
.auth-divider{display:flex;align-items:center;gap:14px;margin:24px 0;color:var(--gray);font-size:13px;}
.auth-divider::before,.auth-divider::after{content:"";flex:1;height:1px;background:var(--card-bd);}

/* ============ FORMS ============ */
.field{margin-bottom:18px;}
.field label{display:block;font-size:13.5px;font-weight:600;color:var(--navy);margin-bottom:7px;}
.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);border-radius:10px;padding:12px 14px;font-size:14.5px;font-family:'Roboto',sans-serif;color:#374151;outline:none;background:#fff;transition:border-color .15s,box-shadow .15s;}
.field textarea{resize:vertical;min-height:130px;}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--p400);box-shadow:0 0 0 3px rgba(139,92,246,.14);}
.field .hint{font-size:12px;color:var(--gray);margin-top:6px;}
.field.invalid input,.field.invalid textarea{border-color:#DC2626;}
.field .err{font-size:12.5px;color:#DC2626;margin-top:6px;}
.form-row{display:grid;grid-template-columns:1fr;gap:16px;}
.form-check{display:flex;align-items:center;gap:9px;font-size:13.5px;color:var(--gray2);}
.form-check input{width:auto;}
.form-between{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:22px;}
.form-between a{font-size:13.5px;color:var(--p600);font-weight:500;}
.alert{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border-radius:11px;font-size:14px;line-height:1.5;margin-bottom:22px;}
.alert svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke-width:2;margin-top:1px;}
.alert-success{background:#F0FDF4;color:#166534;border:1px solid #BBF7D0;}
.alert-success svg{stroke:#16A34A;}
.alert-error{background:#FEF2F2;color:#991B1B;border:1px solid #FECACA;}
.alert-error svg{stroke:#DC2626;}
.alert-info{background:var(--lav50);color:var(--navy);border:1px solid var(--card-bd);}
.alert-info svg{stroke:var(--p600);}

/* ============ CONTACT ============ */
.contact-grid{display:grid;grid-template-columns:1fr;gap:30px;align-items:start;}
.contact-card{background:#fff;border:1px solid var(--card-bd);border-radius:18px;padding:32px;box-shadow:0 4px 18px rgba(46,16,101,.05);}
.info-list{display:flex;flex-direction:column;gap:20px;margin-top:6px;}
.info-item{display:flex;gap:16px;align-items:flex-start;}
.info-item .info-ic{flex-shrink:0;width:46px;height:46px;border-radius:12px;background:var(--lav50);display:flex;align-items:center;justify-content:center;}
.info-item .info-ic svg{width:22px;height:22px;stroke:var(--p600);fill:none;stroke-width:2;}
.info-item h4{font-size:15px;font-weight:600;color:var(--navy);margin-bottom:3px;}
.info-item p{font-size:14px;color:var(--gray2);margin:0;line-height:1.5;}
.map-embed{margin-top:22px;border-radius:16px;overflow:hidden;border:1px solid var(--card-bd);height:220px;background:linear-gradient(135deg,var(--lav100),#fff);display:flex;align-items:center;justify-content:center;color:var(--p600);}
.map-embed svg{width:40px;height:40px;stroke:var(--p600);fill:none;stroke-width:1.6;}

/* ============ PAGINATION ============ */
.pagination{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:40px;flex-wrap:wrap;}
.pagination a,.pagination span{display:inline-flex;align-items:center;gap:6px;min-width:42px;height:42px;justify-content:center;padding:0 12px;border-radius:10px;font-size:14px;font-weight:500;border:1px solid var(--card-bd);background:#fff;color:var(--ink);}
.pagination a:hover{border-color:var(--p400);color:var(--p600);}
.pagination .pg-num.active{background:linear-gradient(135deg,var(--p600),var(--p700));color:#fff;border-color:transparent;}
.pagination .disabled{opacity:.4;pointer-events:none;}
.pagination svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;}

/* ============ CTA BAND ============ */
.cta{padding:56px 0;}
.cta-band{background:linear-gradient(115deg,#4B1FA1,#2E1065);border-radius:20px;padding:34px 30px;display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap;position:relative;overflow:hidden;}
.cta-band::after{content:"";position:absolute;right:-40px;top:-60px;width:280px;height:280px;background:radial-gradient(circle,rgba(255,255,255,.08),transparent 70%);border-radius:50%;}
.cta-text{position:relative;z-index:1;}
.cta-text h2{color:#fff;font-size:26px;font-weight:700;letter-spacing:-.4px;margin-bottom:8px;}
.cta-text p{color:rgba(255,255,255,.82);font-size:15.5px;margin:0;max-width:520px;line-height:1.55;}
.cta-band .btn{position:relative;z-index:1;flex-shrink:0;}

/* ============ EMPTY STATE ============ */
.empty{text-align:center;padding:60px 20px;color:var(--gray);}
.empty svg{width:56px;height:56px;stroke:var(--p400);fill:none;stroke-width:1.5;margin:0 auto 18px;}
.empty h3{font-size:20px;color:var(--navy);font-weight:600;margin-bottom:8px;}
.empty p{font-size:15px;margin:0 auto;max-width:420px;}

/* ============ SEARCH RESULTS ============ */
.search-group{margin-bottom:40px;}
.search-group-head{display:flex;align-items:center;gap:10px;margin-bottom:18px;}
.search-group-head h2{font-size:20px;color:var(--navy);font-weight:700;}
.search-group-head .cnt{background:var(--lav100);color:var(--p700);font-size:12.5px;font-weight:600;padding:2px 11px;border-radius:99px;}

/* ============ MISC ============ */
.mt-0{margin-top:0;}
.center{text-align:center;}
.lead{font-size:17px;line-height:1.7;color:var(--gray2);}
.bg-soft{background:var(--lav50);}

/* ============ RESPONSIVE (mobile-first: base = mobile, min-width layers up) ============ */
@media (min-width:641px){
  :root{--pad:42px;}
  .hero h1{font-size:44px;}
  .cards-grid{grid-template-columns:repeat(2,1fr);}
  .co-grid,.blog-grid,.res-grid{grid-template-columns:repeat(2,1fr);}
  .trust-box{grid-template-columns:repeat(2,1fr);}
  .stats{grid-template-columns:repeat(2,1fr);}
  .foot-grid{grid-template-columns:repeat(2,1fr);gap:30px 40px;}
  .foot-bar-inner{flex-direction:row;gap:0;text-align:left;}
  .edu-content{flex-direction:row;align-items:center;padding:18px 40px;}
  .form-row{grid-template-columns:1fr 1fr;}
  .proscon{grid-template-columns:1fr 1fr;}
  .doc-card{flex-wrap:nowrap;}
  .doc-card .btn{width:auto;margin-top:0;}
  .section-head h2{font-size:32px;}
  .page-head h1{font-size:32px;}
  .article-hero h1{font-size:36px;}
  .auth-card{padding:40px;}
}
@media (min-width:981px){
  nav.main{display:block;}
  .nav-actions .btn-login{display:inline-flex;}
  .nav-toggle{display:none;}
  .hero-grid{grid-template-columns:455px 1fr;column-gap:48px;row-gap:0;}
  .hero-art{order:0;max-width:none;margin:0;}
  .hero h1{font-size:48px;}
  .cards-grid{grid-template-columns:repeat(4,1fr);}
  .trust-box{grid-template-columns:repeat(4,1fr);}
  .foot-grid{grid-template-columns:1.18fr 1fr 1fr 1.1fr;gap:30px;}
  .edu-devices{display:flex;}
  .edu-content{max-width:600px;}
  .contact-grid{grid-template-columns:1.2fr 1fr;gap:44px;}
  .post-featured a{grid-template-columns:1.1fr 1fr;}
  .post-featured .post-thumb{min-height:280px;}
  .cta-band{padding:44px 48px;}
  .page-head h1{font-size:38px;}
}
@media (min-width:1081px){
  .co-grid,.blog-grid,.res-grid{grid-template-columns:repeat(3,1fr);}
  .with-side{grid-template-columns:1fr 300px;}
  .with-side.left-side{grid-template-columns:280px 1fr;}
  .stats{grid-template-columns:repeat(4,1fr);}
}

/* Accessibility: skip to content (hidden until focused) */
.skip-link{position:absolute;left:-9999px;top:0;z-index:2000;background:var(--p600,#6D28D9);color:#fff;padding:10px 18px;border-radius:0 0 10px 0;font-weight:600;text-decoration:none;}
.skip-link:focus{left:0;}
