:root{
  --bg:#061226;--bg2:#091a35;--card:#0c1e3c;--card2:#0e274b;--line:#1f4b7a;
  --text:#f5f8ff;--muted:#a9bedc;--cyan:#4fc7ff;--blue:#2e76ff;--gold:#f1c35d;--green:#69dfb6;
  --shadow:0 22px 60px rgba(0,0,0,.26);--radius:24px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 15% 10%,rgba(38,111,177,.2),transparent 30%),radial-gradient(circle at 85% 20%,rgba(18,143,186,.16),transparent 28%),var(--bg);color:var(--text);font-family:"Segoe UI",Tahoma,Arial,sans-serif;line-height:1.75}body.rtl{direction:rtl}body.ltr{direction:ltr}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{width:min(1180px,calc(100% - 36px));margin:auto}.nav{position:sticky;top:0;z-index:50;background:rgba(6,18,38,.86);backdrop-filter:blur(18px);border-bottom:1px solid rgba(99,181,255,.14)}.nav-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:11px;font-weight:800}.brand img{width:120px;height:auto;object-fit:contain;flex:0 0 auto}.brand span{display:flex;flex-direction:column;line-height:1.2}.brand small{color:var(--cyan);font-weight:600;font-size:11px}.nav-links{display:flex;align-items:center;gap:22px;font-size:14px;color:#d9e5f7}.nav-links a:hover{color:var(--cyan)}.nav-actions{display:flex;align-items:center;gap:10px}.pill-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border-radius:999px;border:1px solid #2b5583;background:rgba(17,48,89,.45);font-size:13px;font-weight:700}.pill-btn.primary{background:linear-gradient(135deg,#2b69ff,#4fc7ff);border-color:transparent;color:#061226}.hero{padding:86px 0 70px;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(63,161,225,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(63,161,225,.045) 1px,transparent 1px);background-size:58px 58px;mask-image:linear-gradient(to bottom,black,transparent 90%);pointer-events:none}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:58px;align-items:center;position:relative}.eyebrow{display:inline-flex;align-items:center;gap:9px;padding:7px 13px;border:1px solid #28558b;border-radius:999px;color:var(--cyan);background:rgba(15,47,90,.5);font-weight:700;font-size:12px;letter-spacing:.2px}.dot{width:7px;height:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 18px var(--cyan)}h1{font-size:clamp(38px,5vw,67px);line-height:1.12;margin:24px 0 18px;letter-spacing:-1.5px}.gradient-text{background:linear-gradient(110deg,#fff 15%,#7cdbff 62%,#f2c45e);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-lead{font-size:18px;color:#c5d6ee;max-width:720px;margin:0 0 26px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border-radius:14px;font-weight:800;border:1px solid #2e5b8c;background:#0c2344;transition:.2s;min-height:48px}.btn:hover{transform:translateY(-2px);border-color:var(--cyan)}.btn.primary{background:linear-gradient(135deg,#2f75ff,#54c8ff);color:#061226;border:none}.btn.gold{background:linear-gradient(135deg,#f4ce72,#d99f33);color:#15213b;border:none}.hero-note{margin-top:20px;color:#8ca9cb;font-size:13px}.hero-visual{position:relative;min-height:520px}.book-stack{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.stack-card{position:absolute;width:250px;border-radius:18px;overflow:hidden;box-shadow:var(--shadow);border:1px solid rgba(97,194,255,.28);background:#07152e;padding:10px}.stack-card img{width:100%;height:350px;object-fit:contain;border-radius:12px;background:rgba(255,255,255,.04)}.stack-card:nth-child(1){transform:translate(-145px,30px) rotate(-7deg);z-index:1}.rtl .stack-card:nth-child(1){transform:translate(145px,30px) rotate(7deg)}.stack-card:nth-child(2){transform:translate(0,-25px);z-index:3;width:270px}.stack-card:nth-child(3){transform:translate(145px,35px) rotate(7deg);z-index:2}.rtl .stack-card:nth-child(3){transform:translate(-145px,35px) rotate(-7deg)}.stack-card .landscape{object-fit:contain;object-position:center}.floating-badge{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);z-index:10;background:rgba(8,25,52,.94);border:1px solid #2d5e91;border-radius:16px;padding:12px 18px;white-space:nowrap;box-shadow:0 12px 40px rgba(0,0,0,.35);font-size:13px;color:#d9e8fa}.flow{padding:12px 0 70px}.flow-card{background:linear-gradient(135deg,rgba(12,31,60,.88),rgba(11,40,76,.76));border:1px solid #214979;border-radius:24px;padding:26px 30px;box-shadow:var(--shadow)}.flow-row{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:16px;align-items:center}.flow-node{text-align:center;padding:20px}.flow-icon{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;margin:0 auto 10px;background:linear-gradient(145deg,#173c6a,#0c2344);border:1px solid #326492;font-size:25px}.flow-node strong{display:block;font-size:16px}.flow-node span{font-size:12px;color:var(--muted)}.arrow{font-size:28px;color:var(--cyan);opacity:.8}.section{padding:78px 0}.section.alt{background:linear-gradient(180deg,rgba(13,37,72,.5),rgba(6,18,38,0))}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:34px}.section-head h2{font-size:34px;margin:0 0 6px}.section-head p{margin:0;color:var(--muted);max-width:720px}.kicker{font-size:12px;color:var(--gold);font-weight:800;letter-spacing:.8px;text-transform:uppercase}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:30px}.stat{border:1px solid #234a77;background:rgba(9,31,61,.72);padding:20px;border-radius:18px;text-align:center}.stat b{font-size:36px;color:var(--cyan);display:block;line-height:1}.stat span{color:#aec3df;font-size:13px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature{padding:24px;border-radius:20px;border:1px solid #234c79;background:linear-gradient(160deg,#0c2243,#0a1a34);min-height:190px}.feature .ico{font-size:28px;margin-bottom:12px}.feature h3{margin:0 0 8px;font-size:18px}.feature p{margin:0;color:var(--muted);font-size:14px}.books-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.book-card{border-radius:24px;overflow:hidden;border:1px solid #25517e;background:linear-gradient(180deg,#0b2243,#08172e);box-shadow:0 16px 45px rgba(0,0,0,.2);display:flex;flex-direction:column}.book-media{height:390px;display:grid;place-items:center;padding:16px;background:radial-gradient(circle at 50% 20%,rgba(47,122,255,.18),transparent 55%),#06152d}.book-media img{width:100%;height:100%;object-fit:contain;border-radius:12px}.book-body{padding:22px;display:flex;flex-direction:column;flex:1}.status{align-self:flex-start;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800;background:rgba(241,195,93,.12);border:1px solid rgba(241,195,93,.38);color:#f6cf75}.book-body h3{font-size:20px;margin:13px 0 8px}.book-body p{color:var(--muted);font-size:14px;margin:0 0 14px}.tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto}.tag{font-size:11px;color:#bcd1ea;background:#0c2a51;border:1px solid #24527f;padding:5px 9px;border-radius:999px}.research-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.research-card{border-radius:24px;overflow:hidden;border:1px solid #234f7d;background:#081a33;box-shadow:0 16px 45px rgba(0,0,0,.2)}.research-thumb{aspect-ratio:5/3;background:#0a2241;overflow:hidden}.research-thumb img{width:100%;height:100%;object-fit:cover}.research-body{padding:22px}.research-body h3{font-size:18px;line-height:1.5;margin:0 0 10px}.meta{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:12px;margin-bottom:16px;color:#c9d7eb}.meta b{color:var(--cyan)}.field{border-top:1px solid rgba(81,142,195,.25);padding-top:12px;margin-top:12px}.field strong{font-size:12px;color:var(--gold);display:block;margin-bottom:4px}.field p{margin:0;color:var(--muted);font-size:13px}.academic{border:1px solid rgba(78,188,255,.36);background:linear-gradient(135deg,rgba(12,47,86,.95),rgba(11,28,57,.95));border-radius:28px;padding:36px;display:grid;grid-template-columns:1.4fr .6fr;align-items:center;gap:30px;position:relative;overflow:hidden}.academic:after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(79,199,255,.24),transparent 66%);inset-inline-end:-70px;top:-90px}.academic h2{margin:0 0 10px;font-size:30px}.academic p{margin:0;color:#c6d8ee}.academic-list{margin:18px 0 0;padding:0;list-style:none;display:grid;gap:8px}.academic-list li:before{content:"✓";color:var(--green);font-weight:900;margin-inline-end:8px}.academic-action{position:relative;z-index:2;text-align:center}.academic-action .btn{width:100%;margin-top:10px}.platform-highlight{display:grid;grid-template-columns:.85fr 1.15fr;gap:36px;align-items:center}.platform-logo-box{min-height:420px;border-radius:26px;display:grid;place-items:center;background:radial-gradient(circle at 50% 40%,rgba(65,169,255,.22),transparent 50%),linear-gradient(145deg,#0a2445,#061327);border:1px solid #285485;position:relative;overflow:hidden}.platform-logo-box:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(67,174,244,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(67,174,244,.07) 1px,transparent 1px);background-size:38px 38px}.platform-logo-box img{width:210px;position:relative;z-index:2;filter:drop-shadow(0 20px 35px rgba(0,0,0,.35))}.platform-logo-box img.logo-vertical{width:250px}.platform-copy h2{font-size:36px;margin:0 0 14px}.platform-copy p{color:var(--muted)}.platform-copy .quote{border-inline-start:3px solid var(--gold);padding-inline-start:16px;color:#eaf4ff;font-size:17px;margin:22px 0}.footer{border-top:1px solid rgba(81,142,195,.22);padding:32px 0;color:#8fa7c5;font-size:12px}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-brand{display:flex;align-items:center;gap:10px}.footer-brand img{width:86px;height:auto;object-fit:contain}.mini-links{display:flex;gap:14px;flex-wrap:wrap}.page-hero{padding:78px 0 52px}.page-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}.page-hero .logo-large{width:260px;margin:auto;filter:drop-shadow(0 22px 38px rgba(0,0,0,.35))}.page-hero h1{font-size:52px}.principles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.principle{border:1px solid #224d7b;background:linear-gradient(160deg,#0c2344,#07162d);border-radius:20px;padding:24px}.principle b{display:block;color:var(--cyan);margin-bottom:6px}.pipeline{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;align-items:stretch}.step{background:#0a2140;border:1px solid #234e7a;border-radius:18px;padding:18px 12px;text-align:center;min-height:145px;display:flex;flex-direction:column;justify-content:center}.step .num{font-size:11px;color:var(--gold);font-weight:800}.step strong{font-size:14px;margin:7px 0}.step small{color:var(--muted);font-size:11px}.modules{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.module{padding:25px;border-radius:20px;border:1px solid #24507d;background:linear-gradient(145deg,#0b2242,#091a34)}.module h3{margin:0 0 8px}.module p{color:var(--muted);margin:0;font-size:14px}.notice{border-radius:18px;padding:20px 22px;background:rgba(241,195,93,.08);border:1px solid rgba(241,195,93,.3);color:#e6d9b8;font-size:13px}.menu-toggle{display:none}.mobile-menu{display:none}
@media(max-width:980px){.nav-links{display:none}.menu-toggle{display:inline-flex}.hero-grid,.page-hero-grid,.platform-highlight,.academic{grid-template-columns:1fr}.hero-visual{min-height:460px}.feature-grid,.books-grid,.research-grid,.principles{grid-template-columns:1fr 1fr}.pipeline{grid-template-columns:repeat(3,1fr)}.academic-action{text-align:start}.flow-row{grid-template-columns:1fr}.arrow{transform:rotate(90deg);text-align:center}.stack-card{width:210px}.stack-card:nth-child(2){width:230px}.book-media{height:330px}.brand img{width:100px}.footer-brand img{width:72px}}
@media(max-width:650px){.container{width:min(100% - 24px,1180px)}.nav-inner{height:68px}.brand{gap:10px}.brand img{width:84px}.brand span{font-size:13px}.hero{padding-top:54px}.hero-grid{gap:28px}h1,.page-hero h1{font-size:38px}.hero-lead{font-size:16px}.hero-visual{min-height:400px}.stack-card{width:170px}.stack-card:nth-child(2){width:190px}.stack-card img{height:280px}.stack-card:nth-child(1){transform:translate(-96px,36px) rotate(-7deg)}.rtl .stack-card:nth-child(1){transform:translate(96px,36px) rotate(7deg)}.stack-card:nth-child(3){transform:translate(96px,40px) rotate(7deg)}.rtl .stack-card:nth-child(3){transform:translate(-96px,40px) rotate(-7deg)}.feature-grid,.books-grid,.research-grid,.stat-grid,.principles,.modules,.pipeline{grid-template-columns:1fr}.section{padding:58px 0}.section-head{display:block}.section-head h2{font-size:28px}.academic{padding:25px}.footer-inner{display:block}.mini-links{margin-top:12px}.floating-badge{font-size:11px}.book-media{height:390px}.page-hero{padding-top:55px}.footer-brand img{width:76px}}

/* v3 information architecture */
.knowledge-brand{display:flex;align-items:center;gap:11px;font-weight:850;white-space:nowrap}.knowledge-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#173c6a,#0c2344);border:1px solid #326492;color:#fff;font-size:20px}.knowledge-brand span{display:flex;flex-direction:column;line-height:1.18}.knowledge-brand small{font-size:11px;color:var(--cyan);font-weight:650}.knowledge-hero{text-align:center;padding:90px 0 55px}.knowledge-hero .hero-lead{margin-inline:auto;max-width:920px}.knowledge-hero .hero-actions{justify-content:center}.umbrella-strip{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:24px}.umbrella-chip{border:1px solid #2c5d90;background:rgba(10,36,69,.78);border-radius:999px;padding:8px 13px;font-size:12px;color:#d9e8fa}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.product-card{border:1px solid #25517e;background:linear-gradient(180deg,#0b2243,#08172e);border-radius:24px;overflow:hidden;display:flex;flex-direction:column;min-height:100%;box-shadow:0 16px 45px rgba(0,0,0,.2)}.product-media{height:245px;background:radial-gradient(circle at 50% 20%,rgba(47,122,255,.18),transparent 55%),#06152d;padding:14px;display:grid;place-items:center}.product-media img{width:100%;height:100%;object-fit:contain;border-radius:12px}.product-media.logo-card{background:radial-gradient(circle at 50% 40%,rgba(65,169,255,.22),transparent 50%),linear-gradient(145deg,#0a2445,#061327)}.product-media.logo-card img{max-width:190px;max-height:190px}.product-content{padding:20px;display:flex;flex-direction:column;flex:1}.product-content h3{margin:10px 0 8px;font-size:19px}.product-content p{color:var(--muted);font-size:13.5px;margin:0 0 16px}.product-content .btn{margin-top:auto;width:100%}.product-type{font-size:11px;color:var(--cyan);font-weight:800}.page-cover{border-radius:26px;overflow:hidden;border:1px solid #285485;background:#061327;box-shadow:var(--shadow)}.page-cover img{width:100%;height:auto;object-fit:contain}.book-detail-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:38px;align-items:start}.book-detail-grid .page-cover{position:sticky;top:105px}.info-list{display:grid;gap:12px}.info-item{border:1px solid #234a77;background:rgba(9,31,61,.72);padding:18px 20px;border-radius:17px}.info-item b{display:block;color:var(--cyan);margin-bottom:5px}.audience-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.audience{padding:20px;border:1px solid #234c79;background:linear-gradient(160deg,#0c2243,#0a1a34);border-radius:18px}.audience h3{margin:0 0 7px;font-size:17px}.audience p{margin:0;color:var(--muted);font-size:13px}.research-compact{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.research-compact .feature{min-height:230px}.platform-white-logo{filter:none!important}.platform-white-logo.horizontal{width:min(330px,80%)!important}.platform-white-logo.vertical{width:min(250px,70%)!important}.back-link{display:inline-flex;align-items:center;gap:6px;color:var(--cyan);font-size:13px;font-weight:750}.status-line{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.clean-header .nav-inner{justify-content:space-between}.clean-header .nav-links{margin-inline:auto}.section-intro-card{border:1px solid #214979;border-radius:22px;padding:24px;background:linear-gradient(135deg,rgba(12,31,60,.88),rgba(11,40,76,.76))}.section-intro-card h3{margin-top:0}
@media(max-width:1100px){.product-grid{grid-template-columns:repeat(2,1fr)}.book-detail-grid{grid-template-columns:1fr}.book-detail-grid .page-cover{position:relative;top:auto;max-width:760px;margin:auto}.research-compact,.audience-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.product-grid,.research-compact,.audience-grid{grid-template-columns:1fr}.knowledge-hero{padding-top:55px}.product-media{height:260px}.knowledge-brand span{font-size:13px}.knowledge-mark{width:34px;height:34px}.clean-header .nav-actions .primary{display:none}}


/* v4 theme system */
:root{color-scheme:dark}
html[data-theme="light"]{color-scheme:light}
.knowledge-brand{display:flex;align-items:center;min-width:210px;max-width:275px}
.knowledge-logo{display:block;width:100%;height:auto;object-fit:contain}
.knowledge-logo-light{display:none}
.hero-knowledge-mark{width:76px;height:76px;object-fit:contain;margin:0 auto 16px;filter:drop-shadow(0 12px 26px rgba(0,0,0,.22))}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 13px;border-radius:999px;border:1px solid #2b5583;background:rgba(17,48,89,.48);color:var(--text);font:inherit;font-size:12px;font-weight:800;cursor:pointer;transition:.2s}
.theme-toggle:hover{transform:translateY(-1px);border-color:var(--cyan)}
.theme-icon{font-size:16px;line-height:1}.theme-label{white-space:nowrap}
.footer-knowledge-brand{display:flex;align-items:center;gap:16px;max-width:520px}.footer-logo-wrap{width:170px;flex:0 0 170px}.footer-knowledge-logo{width:100%;height:auto}.footer-copy{min-width:0}

html[data-theme="light"]{
  --bg:#f4f8fc;--bg2:#ffffff;--card:#ffffff;--card2:#edf5fb;--line:#bdd3e5;
  --text:#0a2744;--muted:#5d7288;--cyan:#079db4;--blue:#1767c8;--gold:#b98635;--green:#188c67;
  --shadow:0 18px 48px rgba(24,62,98,.12);
}
html[data-theme="light"] body{background:radial-gradient(circle at 15% 10%,rgba(32,177,193,.10),transparent 30%),radial-gradient(circle at 85% 20%,rgba(31,102,192,.09),transparent 28%),#f4f8fc;color:var(--text)}
html[data-theme="light"] .nav{background:rgba(255,255,255,.91);border-bottom-color:rgba(25,88,130,.16);box-shadow:0 8px 28px rgba(38,79,112,.06)}
html[data-theme="light"] .nav-links{color:#294b68}
html[data-theme="light"] .nav-links a:hover{color:#078fa7}
html[data-theme="light"] .knowledge-logo-dark{display:none}
html[data-theme="light"] .knowledge-logo-light{display:block}
html[data-theme="light"] .theme-toggle{background:#fff;border-color:#b8cede;color:#153653}
html[data-theme="light"] .pill-btn{background:#fff;border-color:#b8cede;color:#153653}
html[data-theme="light"] .pill-btn.primary,html[data-theme="light"] .btn.primary{background:linear-gradient(135deg,#176fd4,#28bfd0);color:#fff}
html[data-theme="light"] .hero-lead,html[data-theme="light"] .section-head p,html[data-theme="light"] .feature p,html[data-theme="light"] .product-content p,html[data-theme="light"] .audience p,html[data-theme="light"] .module p,html[data-theme="light"] .academic p,html[data-theme="light"] .field p,html[data-theme="light"] .footer{color:#5d7288}
html[data-theme="light"] .gradient-text{background:linear-gradient(110deg,#082846 10%,#087fa6 60%,#ad7830);-webkit-background-clip:text;background-clip:text;color:transparent}
html[data-theme="light"] .eyebrow{border-color:#b8d5e4;background:#e8f6fa;color:#087f98}
html[data-theme="light"] .umbrella-chip{background:#fff;border-color:#c2d9e8;color:#31536d}
html[data-theme="light"] .section.alt{background:linear-gradient(180deg,rgba(222,239,249,.78),rgba(244,248,252,0))}
html[data-theme="light"] .product-card,html[data-theme="light"] .feature,html[data-theme="light"] .book-card,html[data-theme="light"] .research-card,html[data-theme="light"] .principle,html[data-theme="light"] .module,html[data-theme="light"] .audience,html[data-theme="light"] .info-item,html[data-theme="light"] .section-intro-card,html[data-theme="light"] .step,html[data-theme="light"] .stat{background:#fff;border-color:#c7dbe9;box-shadow:0 14px 38px rgba(33,80,113,.08)}
html[data-theme="light"] .product-media,html[data-theme="light"] .book-media,html[data-theme="light"] .research-thumb{background:radial-gradient(circle at 50% 20%,rgba(32,154,196,.12),transparent 55%),#f5f9fc}
html[data-theme="light"] .product-media.logo-card{background:linear-gradient(145deg,#0a2445,#061327);border-color:#234f7d}
html[data-theme="light"] .platform-logo-box{background:radial-gradient(circle at 50% 40%,rgba(40,190,208,.16),transparent 50%),#f8fbfd;border-color:#c2d8e7}
html[data-theme="light"] .platform-logo-box:before{background-image:linear-gradient(rgba(30,120,170,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(30,120,170,.06) 1px,transparent 1px)}
html[data-theme="light"] .academic{background:linear-gradient(135deg,#ffffff,#edf7fa);border-color:#bad9e5;color:#163852;box-shadow:0 16px 42px rgba(24,72,105,.08)}
html[data-theme="light"] .academic:after{background:radial-gradient(circle,rgba(37,184,197,.13),transparent 66%)}
html[data-theme="light"] .academic p{color:#587187}
html[data-theme="light"] .flow-card{background:linear-gradient(135deg,#fff,#edf7fb);border-color:#c4dbea;box-shadow:0 14px 38px rgba(33,80,113,.08)}
html[data-theme="light"] .flow-icon{background:linear-gradient(145deg,#edf7fb,#dcecf6);border-color:#b8d1e1;color:#153653}
html[data-theme="light"] .page-cover{background:#fff;border-color:#c4d9e8;box-shadow:0 16px 44px rgba(27,67,98,.1)}
html[data-theme="light"] .btn{background:#fff;border-color:#bad1e1;color:#163852}
html[data-theme="light"] .btn:hover{border-color:#21aebe}
html[data-theme="light"] .back-link,html[data-theme="light"] .product-type,html[data-theme="light"] .meta b{color:#078da3}
html[data-theme="light"] .meta{color:#3d5870}
html[data-theme="light"] .notice{background:#fff9ec;border-color:#e4cb91;color:#705624}
html[data-theme="light"] .footer{border-top-color:#c9dae6}
html[data-theme="light"] .platform-copy .quote{color:#24445e}

@media(max-width:900px){.knowledge-brand{min-width:165px;max-width:205px}.footer-logo-wrap{width:145px;flex-basis:145px}.theme-label{display:none}.theme-toggle{width:42px;padding:8px}}
@media(max-width:650px){.knowledge-brand{min-width:132px;max-width:150px}.nav-actions{gap:6px}.theme-toggle{min-width:38px;width:38px;height:38px;min-height:38px}.footer-knowledge-brand{align-items:flex-start;flex-direction:column}.footer-logo-wrap{width:150px;flex-basis:auto}.hero-knowledge-mark{width:62px;height:62px}}


/* v5 book detail enhancements */
.book-summary-card{border:1px solid #214979;border-radius:22px;padding:24px;background:linear-gradient(135deg,rgba(12,31,60,.88),rgba(11,40,76,.76));margin-top:16px}
.book-summary-card p{margin:0;color:var(--muted)}
.book-meta-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
.book-meta{padding:16px 18px;border-radius:18px;border:1px solid #234a77;background:rgba(9,31,61,.72)}
.book-meta strong{display:block;font-size:12px;color:var(--gold);margin-bottom:6px}
.book-meta span{display:block;font-size:14px}
.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.value-card{padding:22px;border-radius:20px;border:1px solid #234c79;background:linear-gradient(160deg,#0c2243,#0a1a34)}
.value-card h3{margin:0 0 10px;font-size:18px}.value-card p{margin:0;color:var(--muted);font-size:14px}
.preview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.preview-card{border-radius:22px;overflow:hidden;border:1px solid #25517e;background:linear-gradient(180deg,#0b2243,#08172e);box-shadow:0 16px 45px rgba(0,0,0,.16)}
.preview-media{aspect-ratio:3/4;background:radial-gradient(circle at 50% 20%,rgba(47,122,255,.18),transparent 55%),#06152d;display:grid;place-items:center;padding:14px}
.preview-media img{width:100%;height:100%;object-fit:contain;border-radius:10px;background:#fff}
.preview-placeholder{width:100%;height:100%;border:1.5px dashed rgba(138,191,233,.45);border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px;text-align:center;color:#dbe9fa;background:rgba(255,255,255,.03)}
.preview-placeholder b{font-size:16px;margin-bottom:6px;color:var(--text)}
.preview-placeholder span{font-size:12px;color:var(--muted);line-height:1.6}
.preview-body{padding:16px 18px}
.preview-body h4{margin:0 0 6px;font-size:15px}.preview-body p{margin:0;color:var(--muted);font-size:13px}
.notice-inline{margin-top:16px;padding:14px 16px;border-radius:16px;border:1px solid rgba(241,195,93,.35);background:rgba(241,195,93,.09);color:#f4d48a;font-size:13px}
.light-samples-note{margin-top:16px}
.page-hero .hero-actions{margin-top:22px}
html[data-theme="light"] .book-summary-card,html[data-theme="light"] .book-meta,html[data-theme="light"] .value-card,html[data-theme="light"] .preview-card{background:#fff;border-color:#c7dbe9;box-shadow:0 14px 38px rgba(33,80,113,.08)}
html[data-theme="light"] .preview-media{background:radial-gradient(circle at 50% 20%,rgba(32,154,196,.12),transparent 55%),#f5f9fc}
html[data-theme="light"] .preview-placeholder{background:#f8fbfd;border-color:#c5d9e8;color:#24445e}
html[data-theme="light"] .preview-placeholder span,html[data-theme="light"] .preview-body p,html[data-theme="light"] .value-card p,html[data-theme="light"] .book-summary-card p{color:#5d7288}
html[data-theme="light"] .notice-inline{background:#fff9ec;border-color:#e4cb91;color:#705624}
@media(max-width:1100px){.book-meta-grid,.value-grid{grid-template-columns:1fr 1fr}.preview-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.book-meta-grid,.value-grid,.preview-grid{grid-template-columns:1fr}}

/* v6 theme-aware Memar Knowledge center mark */
.hero-mark-wrap{display:block;width:76px;height:76px;margin:0 auto 16px}
.hero-mark-wrap .hero-knowledge-mark{width:76px;height:76px;margin:0;object-fit:contain;filter:drop-shadow(0 12px 26px rgba(0,0,0,.22))}
.hero-mark-light{display:none}
html[data-theme="light"] .hero-mark-dark{display:none}
html[data-theme="light"] .hero-mark-light{display:block}
@media(max-width:650px){.hero-mark-wrap,.hero-mark-wrap .hero-knowledge-mark{width:62px;height:62px}}


/* v7 — contrast-safe, mobile-safe light/dark themes */
html[data-theme="dark"]{color-scheme:only dark!important;background:#061226!important}
html[data-theme="light"]{color-scheme:only light!important;background:#f7fbfe!important}
html[data-theme="dark"] body,html[data-theme="dark"] main{background-color:#061226!important;color:#f8fbff!important}
html[data-theme="light"] body,html[data-theme="light"] main{background-color:#f7fbfe!important;color:#102b45!important}

/* Prevent mobile browsers from auto-dimming carefully chosen theme colors */
html,body,main,.nav,.knowledge-hero,.page-hero,.section,.footer{forced-color-adjust:none}

/* DARK THEME: strong contrast, no dark text on dark surfaces */
html[data-theme="dark"] .nav{background:#061226f2!important;border-bottom-color:#173b62!important}
html[data-theme="dark"] .knowledge-hero{background:radial-gradient(circle at 50% 10%,rgba(22,130,165,.16),transparent 38%),linear-gradient(180deg,#061226 0%,#07182f 100%)!important;color:#f8fbff!important}
html[data-theme="dark"] .page-hero{background:linear-gradient(180deg,#07182f 0%,#061226 100%)!important;color:#f8fbff!important}
html[data-theme="dark"] .section{background-color:#061226!important;color:#f8fbff!important}
html[data-theme="dark"] .section.alt{background:linear-gradient(180deg,#0b2242 0%,#07182f 100%)!important;color:#f8fbff!important}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] h4,html[data-theme="dark"] .product-content h3,html[data-theme="dark"] .research-body h3,html[data-theme="dark"] .audience h3,html[data-theme="dark"] .module h3,html[data-theme="dark"] .value-card h3{color:#f8fbff!important}
html[data-theme="dark"] .hero-lead,html[data-theme="dark"] .section-head p,html[data-theme="dark"] .product-content p,html[data-theme="dark"] .feature p,html[data-theme="dark"] .audience p,html[data-theme="dark"] .module p,html[data-theme="dark"] .field p,html[data-theme="dark"] .book-summary-card p,html[data-theme="dark"] .value-card p,html[data-theme="dark"] .preview-body p,html[data-theme="dark"] .academic p,html[data-theme="dark"] .footer-copy,html[data-theme="dark"] .hero-note{color:#d5e3f2!important}
html[data-theme="dark"] .gradient-text{background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;-webkit-text-fill-color:#63d6e8!important;color:#63d6e8!important;text-shadow:0 0 22px rgba(53,199,216,.16)}
html[data-theme="dark"] .eyebrow{color:#78ddf2!important;background:#0b2748!important;border-color:#2e6288!important}
html[data-theme="dark"] .umbrella-chip{background:#0a2342!important;border-color:#315d87!important;color:#edf6ff!important}
html[data-theme="dark"] .nav-links{color:#e3edf8!important}
html[data-theme="dark"] .pill-btn,html[data-theme="dark"] .theme-toggle{color:#f8fbff!important;background:#0a2342!important;border-color:#315d87!important}
html[data-theme="dark"] .btn:not(.primary):not(.gold){color:#f8fbff!important;background:#0b2748!important;border-color:#376891!important}
html[data-theme="dark"] .product-card,html[data-theme="dark"] .feature,html[data-theme="dark"] .book-card,html[data-theme="dark"] .research-card,html[data-theme="dark"] .principle,html[data-theme="dark"] .module,html[data-theme="dark"] .audience,html[data-theme="dark"] .info-item,html[data-theme="dark"] .section-intro-card,html[data-theme="dark"] .step,html[data-theme="dark"] .stat,html[data-theme="dark"] .book-summary-card,html[data-theme="dark"] .book-meta,html[data-theme="dark"] .value-card,html[data-theme="dark"] .preview-card{background:#0b2140!important;border-color:#2a537c!important;color:#f8fbff!important}
html[data-theme="dark"] .tag{color:#e5f0fb!important;background:#0b2a4e!important;border-color:#315e88!important}
html[data-theme="dark"] .meta{color:#dce8f5!important}
html[data-theme="dark"] .status{color:#ffd77c!important;background:#2c2618!important;border-color:#6d5a28!important}
html[data-theme="dark"] .knowledge-logo-dark,html[data-theme="dark"] .hero-mark-dark{display:block!important;opacity:1!important;filter:drop-shadow(0 8px 18px rgba(0,0,0,.38)) brightness(1.08)}
html[data-theme="dark"] .knowledge-logo-light,html[data-theme="dark"] .hero-mark-light{display:none!important}
html[data-theme="dark"] .hero-mark-wrap{filter:drop-shadow(0 10px 26px rgba(0,0,0,.32))}
html[data-theme="dark"] .footer{background:#061226!important;color:#c7d7e8!important;border-top-color:#21466d!important}

/* LIGHT THEME: actual light surfaces with dark readable type */
html[data-theme="light"] body{background:#f7fbfe!important;color:#102b45!important}
html[data-theme="light"] main{background:#f7fbfe!important;color:#102b45!important}
html[data-theme="light"] .nav{background:#fffffffa!important;border-bottom-color:#c8dce9!important;box-shadow:0 8px 26px rgba(21,57,84,.07)!important}
html[data-theme="light"] .knowledge-hero{background:radial-gradient(circle at 50% 6%,rgba(29,176,192,.10),transparent 40%),linear-gradient(180deg,#fbfdff 0%,#eff7fb 100%)!important;color:#102b45!important}
html[data-theme="light"] .page-hero{background:linear-gradient(180deg,#f7fbfe 0%,#edf6fb 100%)!important;color:#102b45!important}
html[data-theme="light"] .section{background:#ffffff!important;color:#102b45!important}
html[data-theme="light"] .section.alt{background:linear-gradient(180deg,#eef6fb 0%,#f8fbfd 100%)!important;color:#102b45!important}
html[data-theme="light"] h1,html[data-theme="light"] h2,html[data-theme="light"] h3,html[data-theme="light"] h4,html[data-theme="light"] .product-content h3,html[data-theme="light"] .research-body h3,html[data-theme="light"] .audience h3,html[data-theme="light"] .module h3,html[data-theme="light"] .value-card h3{color:#0b2944!important}
html[data-theme="light"] .hero-lead,html[data-theme="light"] .section-head p,html[data-theme="light"] .product-content p,html[data-theme="light"] .feature p,html[data-theme="light"] .audience p,html[data-theme="light"] .module p,html[data-theme="light"] .field p,html[data-theme="light"] .book-summary-card p,html[data-theme="light"] .value-card p,html[data-theme="light"] .preview-body p,html[data-theme="light"] .academic p,html[data-theme="light"] .footer-copy,html[data-theme="light"] .hero-note{color:#455f77!important}
html[data-theme="light"] .gradient-text{background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;-webkit-text-fill-color:#087f98!important;color:#087f98!important;text-shadow:none!important}
html[data-theme="light"] .eyebrow{color:#066d82!important;background:#e9f7fa!important;border-color:#afd4df!important}
html[data-theme="light"] .umbrella-chip{background:#ffffff!important;border-color:#bcd5e4!important;color:#23465f!important;box-shadow:0 3px 10px rgba(24,70,102,.03)}
html[data-theme="light"] .nav-links{color:#244761!important}
html[data-theme="light"] .pill-btn,html[data-theme="light"] .theme-toggle{color:#163852!important;background:#ffffff!important;border-color:#b9cfde!important}
html[data-theme="light"] .btn:not(.primary):not(.gold){color:#163852!important;background:#ffffff!important;border-color:#b7cfdf!important}
html[data-theme="light"] .product-card,html[data-theme="light"] .feature,html[data-theme="light"] .book-card,html[data-theme="light"] .research-card,html[data-theme="light"] .principle,html[data-theme="light"] .module,html[data-theme="light"] .audience,html[data-theme="light"] .info-item,html[data-theme="light"] .section-intro-card,html[data-theme="light"] .step,html[data-theme="light"] .stat,html[data-theme="light"] .book-summary-card,html[data-theme="light"] .book-meta,html[data-theme="light"] .value-card,html[data-theme="light"] .preview-card{background:#ffffff!important;border-color:#c6dbe8!important;color:#102b45!important;box-shadow:0 12px 34px rgba(30,74,104,.07)!important}
html[data-theme="light"] .product-media,html[data-theme="light"] .book-media,html[data-theme="light"] .research-thumb,html[data-theme="light"] .preview-media{background:#f3f8fb!important}
html[data-theme="light"] .product-media.logo-card{background:#edf6fa!important;border-color:#c4dae6!important}
html[data-theme="light"] .tag{color:#2f536e!important;background:#eef6fa!important;border-color:#c1d8e5!important}
html[data-theme="light"] .meta{color:#38566d!important}
html[data-theme="light"] .status{color:#775414!important;background:#fff7df!important;border-color:#dcc176!important}
html[data-theme="light"] .knowledge-logo-light,html[data-theme="light"] .hero-mark-light{display:block!important;opacity:1!important;filter:none!important}
html[data-theme="light"] .knowledge-logo-dark,html[data-theme="light"] .hero-mark-dark{display:none!important}
html[data-theme="light"] .footer{background:#f3f8fb!important;color:#526b80!important;border-top-color:#c8dbe7!important}
html[data-theme="light"] .academic{background:#ffffff!important;border-color:#bed8e5!important;color:#102b45!important}
html[data-theme="light"] .flow-card{background:#ffffff!important;border-color:#c5dbe8!important}
html[data-theme="light"] .flow-icon{background:#edf6fa!important;border-color:#bad3e1!important;color:#173d58!important}
html[data-theme="light"] .platform-logo-box{background:#f2f8fb!important;border-color:#bfd7e4!important}
html[data-theme="light"] .page-cover{background:#ffffff!important;border-color:#c4d9e8!important}

/* Mobile readability */
@media(max-width:650px){
  .knowledge-hero{padding:72px 0 58px!important}
  .knowledge-hero h1{font-size:44px!important;line-height:1.22!important;letter-spacing:-.5px!important}
  .knowledge-hero .hero-lead{font-size:17px!important;line-height:1.95!important}
  .umbrella-chip{font-size:12.5px!important;padding:9px 13px!important}
  .hero-actions .btn{font-size:15px!important;min-height:52px!important}
  .hero-mark-wrap,.hero-mark-wrap .hero-knowledge-mark{width:74px!important;height:74px!important}
  .knowledge-brand{min-width:150px!important;max-width:175px!important}
  .nav-inner{height:82px!important}
}

/* v8 title and research refinements */
.title-subline{margin:-2px 0 12px!important;color:var(--gold)!important;font-size:13px!important;font-weight:700;line-height:1.5}
.official-subtitle{margin:8px 0 0;color:var(--gold);font-weight:700;font-size:clamp(18px,2vw,26px);line-height:1.5;max-width:900px}
.research-code{display:inline-flex;align-items:center;justify-content:center;min-width:64px;padding:6px 11px;border-radius:999px;border:1px solid rgba(75,179,255,.38);background:rgba(42,130,255,.09);color:var(--cyan);font-weight:800;font-size:12px;letter-spacing:.04em;margin-bottom:12px}
.section-actions{display:flex;justify-content:center;margin:24px 0 0}
.research-page-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.research-page-card{border:1px solid var(--border);background:var(--card);border-radius:24px;padding:24px;display:flex;flex-direction:column;gap:12px;box-shadow:var(--shadow)}
.research-page-card h2{font-size:21px;line-height:1.55;margin:0}.research-page-card p{color:var(--muted);margin:0}.research-page-card .btn{margin-top:auto;align-self:flex-start}
.research-detail{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.8fr);gap:28px;align-items:start}
.research-detail-main,.research-facts{border:1px solid var(--border);background:var(--card);border-radius:24px;padding:28px;box-shadow:var(--shadow)}
.research-detail-main h2{margin-top:0}.research-detail-main p{color:var(--muted);line-height:1.95}
.research-facts{display:grid;gap:14px;position:sticky;top:98px}.fact{padding:14px 0;border-bottom:1px solid var(--border)}.fact:last-child{border-bottom:0}.fact b{display:block;color:var(--gold);font-size:12px;margin-bottom:5px}.fact span{font-size:14px;line-height:1.65}
.research-purpose{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}.research-purpose article{border:1px solid var(--border);background:rgba(255,255,255,.02);border-radius:18px;padding:20px}.research-purpose h3{margin:0 0 8px;font-size:17px}.research-purpose p{margin:0!important;font-size:14px!important}
html[data-theme="light"] .research-purpose article{background:#f8fbfd}
@media(max-width:900px){.research-page-grid{grid-template-columns:1fr}.research-detail{grid-template-columns:1fr}.research-facts{position:static}.research-purpose{grid-template-columns:1fr}}

/* v9 Memar AI theme-aware logo */
.platform-theme-logo{filter:none!important}
.platform-logo-lightmode{display:none!important}
html[data-theme="dark"] .platform-logo-darkmode{display:block!important}
html[data-theme="dark"] .platform-logo-lightmode{display:none!important}
html[data-theme="light"] .platform-logo-darkmode{display:none!important}
html[data-theme="light"] .platform-logo-lightmode{display:block!important}
.product-media.logo-card .platform-theme-logo.vertical{max-width:190px;max-height:190px;width:auto;height:auto;object-fit:contain}
.platform-logo-box .platform-theme-logo.vertical{width:min(250px,70%)!important;height:auto;object-fit:contain}


/* v11 unified product CTA hover */
.product-content .btn{
  background:transparent!important;
  color:var(--text)!important;
  border:1px solid #376891!important;
  box-shadow:none!important;
  transition:background .22s ease,color .22s ease,border-color .22s ease,transform .22s ease,box-shadow .22s ease!important;
}
html[data-theme="light"] .product-content .btn{
  background:#ffffff!important;
  color:#163852!important;
  border-color:#b7cfdf!important;
}
@media (hover:hover) and (pointer:fine){
  .product-content .btn:hover{
    background:linear-gradient(135deg,#176fd4,#28bfd0)!important;
    color:#ffffff!important;
    border-color:transparent!important;
    transform:translateY(-2px)!important;
    box-shadow:0 10px 24px rgba(23,111,212,.22)!important;
  }
}
.product-content .btn:focus-visible{
  background:linear-gradient(135deg,#176fd4,#28bfd0)!important;
  color:#ffffff!important;
  border-color:transparent!important;
  outline:3px solid rgba(79,199,255,.35)!important;
  outline-offset:3px;
}

/* v12 — unified interactive hover/focus behavior across the whole site */
/* Default state: all action controls are calm/neutral. Hover/focus: blue→cyan highlight. */
.btn,
.pill-btn,
.theme-toggle{
  box-shadow:none!important;
  transition:background .22s ease,color .22s ease,border-color .22s ease,transform .22s ease,box-shadow .22s ease!important;
}

/* Remove permanent highlight from primary CTA buttons */
html[data-theme="dark"] .btn,
html[data-theme="dark"] .btn.primary,
html[data-theme="dark"] .btn.gold,
html[data-theme="dark"] .pill-btn,
html[data-theme="dark"] .pill-btn.primary,
html[data-theme="dark"] .theme-toggle{
  background:#0b2748!important;
  color:#f8fbff!important;
  border:1px solid #376891!important;
}
html[data-theme="light"] .btn,
html[data-theme="light"] .btn.primary,
html[data-theme="light"] .btn.gold,
html[data-theme="light"] .pill-btn,
html[data-theme="light"] .pill-btn.primary,
html[data-theme="light"] .theme-toggle{
  background:#ffffff!important;
  color:#163852!important;
  border:1px solid #b7cfdf!important;
}

/* All pointer-hover capable action buttons use the same visual response */
@media (hover:hover) and (pointer:fine){
  .btn:hover,
  .pill-btn:hover,
  .theme-toggle:hover{
    background:linear-gradient(135deg,#176fd4,#28bfd0)!important;
    color:#ffffff!important;
    border-color:transparent!important;
    transform:translateY(-2px)!important;
    box-shadow:0 10px 24px rgba(23,111,212,.24)!important;
  }

  /* Navigation text also reacts visibly to the pointer */
  .nav-links a{
    position:relative;
    transition:color .2s ease!important;
  }
  .nav-links a:hover{
    color:#4fd8e8!important;
  }
  .nav-links a:after{
    content:"";
    position:absolute;
    inset-inline:0;
    bottom:-6px;
    height:2px;
    border-radius:2px;
    background:linear-gradient(90deg,#176fd4,#28bfd0);
    transform:scaleX(0);
    transform-origin:center;
    transition:transform .2s ease;
  }
  .nav-links a:hover:after{transform:scaleX(1)}

  /* Cards gain a subtle border cue when the pointer is over the clickable area */
  .product-card:hover,
  .research-card:hover{
    border-color:#31bfd2!important;
  }
}

/* Keyboard accessibility mirrors hover */
.btn:focus-visible,
.pill-btn:focus-visible,
.theme-toggle:focus-visible{
  background:linear-gradient(135deg,#176fd4,#28bfd0)!important;
  color:#ffffff!important;
  border-color:transparent!important;
  outline:3px solid rgba(79,199,255,.38)!important;
  outline-offset:3px!important;
  box-shadow:0 10px 24px rgba(23,111,212,.24)!important;
}

/* Product buttons inherit the global behavior; neutral by default */
.product-content .btn,
html[data-theme="light"] .product-content .btn,
html[data-theme="dark"] .product-content .btn{
  box-shadow:none!important;
}

/* v13 — pointer hover must visibly change colour on all devices/browsers.
   This deliberately sits OUTSIDE hover-capability media queries because some
   Windows touch/hybrid browsers report pointer:fine/hover inconsistently. */
.btn:hover,
.pill-btn:hover,
.theme-toggle:hover,
a.btn:hover,
a.pill-btn:hover,
button.btn:hover,
button.pill-btn:hover,
button.theme-toggle:hover{
  background:#176fd4!important;
  background-image:linear-gradient(135deg,#176fd4 0%,#28bfd0 100%)!important;
  color:#ffffff!important;
  border-color:#28bfd0!important;
  transform:translateY(-2px)!important;
  box-shadow:0 10px 24px rgba(23,111,212,.28)!important;
}

/* Keep every CTA neutral again as soon as the pointer leaves it. */
html[data-theme="dark"] .btn:not(:hover):not(:focus-visible),
html[data-theme="dark"] .pill-btn:not(:hover):not(:focus-visible),
html[data-theme="dark"] .theme-toggle:not(:hover):not(:focus-visible){
  background:#0b2748!important;
  background-image:none!important;
  color:#f8fbff!important;
  border-color:#376891!important;
  transform:none!important;
  box-shadow:none!important;
}
html[data-theme="light"] .btn:not(:hover):not(:focus-visible),
html[data-theme="light"] .pill-btn:not(:hover):not(:focus-visible),
html[data-theme="light"] .theme-toggle:not(:hover):not(:focus-visible){
  background:#ffffff!important;
  background-image:none!important;
  color:#163852!important;
  border-color:#b7cfdf!important;
  transform:none!important;
  box-shadow:none!important;
}

/* Navigation links also provide an obvious colour response without relying on media queries. */
.nav-links a:hover{
  color:#35c8dc!important;
}
.nav-links a:hover::after{
  transform:scaleX(1)!important;
}


/* v14 — deterministic hover colour repaint fallback */
html .btn:hover,
html .pill-btn:hover,
html .theme-toggle:hover,
html body a.btn:hover,
html body a.pill-btn:hover,
html body button.btn:hover,
html body button.pill-btn:hover,
html body button.theme-toggle:hover{
  background:#176fd4!important;
  background-color:#176fd4!important;
  background-image:linear-gradient(135deg,#176fd4 0%,#28bfd0 100%)!important;
  color:#fff!important;
  border-color:#28bfd0!important;
  box-shadow:0 10px 24px rgba(23,111,212,.30)!important;
}


/* v15 — mobile light-mode hardening for Samsung/Chromium forced-dark browsers */
/* Use CSS background images (not only background-color) because some mobile browsers
   auto-darken solid CSS colors even after an explicit theme switch. */
html[data-theme="light"]{
  color-scheme: light only!important;
  background-color:#f7fbfe!important;
  background-image:linear-gradient(#f7fbfe,#f7fbfe)!important;
}
html[data-theme="light"] body,
html[data-theme="light"] main{
  color-scheme: light only!important;
  background-color:#f7fbfe!important;
  background-image:linear-gradient(#f7fbfe,#f7fbfe)!important;
  color:#102b45!important;
  -webkit-text-fill-color:#102b45;
}
html[data-theme="light"] .nav{
  background-color:#ffffff!important;
  background-image:linear-gradient(#ffffff,#ffffff)!important;
  color:#102b45!important;
}
html[data-theme="light"] .knowledge-hero{
  background-color:#f7fbfe!important;
  background-image:
    radial-gradient(circle at 50% 6%,rgba(29,176,192,.10),transparent 40%),
    linear-gradient(#f7fbfe,#f7fbfe)!important;
  color:#102b45!important;
}
html[data-theme="light"] .page-hero{
  background-color:#f7fbfe!important;
  background-image:linear-gradient(#f7fbfe,#f7fbfe)!important;
  color:#102b45!important;
}
html[data-theme="light"] .section{
  background-color:#ffffff!important;
  background-image:linear-gradient(#ffffff,#ffffff)!important;
  color:#102b45!important;
}
html[data-theme="light"] .section.alt{
  background-color:#f1f7fb!important;
  background-image:linear-gradient(#f1f7fb,#f1f7fb)!important;
  color:#102b45!important;
}
html[data-theme="light"] .footer{
  background-color:#f3f8fb!important;
  background-image:linear-gradient(#f3f8fb,#f3f8fb)!important;
  color:#526b80!important;
}
html[data-theme="light"] .product-card,
html[data-theme="light"] .feature,
html[data-theme="light"] .book-card,
html[data-theme="light"] .research-card,
html[data-theme="light"] .principle,
html[data-theme="light"] .module,
html[data-theme="light"] .audience,
html[data-theme="light"] .info-item,
html[data-theme="light"] .section-intro-card,
html[data-theme="light"] .step,
html[data-theme="light"] .stat,
html[data-theme="light"] .book-summary-card,
html[data-theme="light"] .book-meta,
html[data-theme="light"] .value-card,
html[data-theme="light"] .preview-card,
html[data-theme="light"] .academic,
html[data-theme="light"] .flow-card,
html[data-theme="light"] .research-page-card,
html[data-theme="light"] .research-detail-main,
html[data-theme="light"] .research-facts{
  background-color:#ffffff!important;
  background-image:linear-gradient(#ffffff,#ffffff)!important;
  color:#102b45!important;
}
html[data-theme="light"] .product-media,
html[data-theme="light"] .book-media,
html[data-theme="light"] .research-thumb,
html[data-theme="light"] .preview-media,
html[data-theme="light"] .platform-logo-box{
  background-color:#f3f8fb!important;
  background-image:linear-gradient(#f3f8fb,#f3f8fb)!important;
}
/* Explicit text fill defeats mobile auto-dark text recoloring. */
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] .product-content h3,
html[data-theme="light"] .research-body h3,
html[data-theme="light"] .audience h3,
html[data-theme="light"] .module h3,
html[data-theme="light"] .value-card h3,
html[data-theme="light"] .nav-links,
html[data-theme="light"] .nav-links a{
  color:#0b2944!important;
  -webkit-text-fill-color:#0b2944!important;
}
html[data-theme="light"] .hero-lead,
html[data-theme="light"] .section-head p,
html[data-theme="light"] .product-content p,
html[data-theme="light"] .feature p,
html[data-theme="light"] .audience p,
html[data-theme="light"] .module p,
html[data-theme="light"] .field p,
html[data-theme="light"] .book-summary-card p,
html[data-theme="light"] .value-card p,
html[data-theme="light"] .preview-body p,
html[data-theme="light"] .academic p,
html[data-theme="light"] .footer-copy,
html[data-theme="light"] .hero-note{
  color:#455f77!important;
  -webkit-text-fill-color:#455f77!important;
}
html[data-theme="light"] .gradient-text{
  background:none!important;
  color:#087f98!important;
  -webkit-text-fill-color:#087f98!important;
}
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .kicker,
html[data-theme="light"] .product-type,
html[data-theme="light"] .research-code{
  -webkit-text-fill-color:currentColor!important;
}
/* Controls retain their intended theme colors in forced-dark browsers. */
html[data-theme="light"] .btn,
html[data-theme="light"] .pill-btn,
html[data-theme="light"] .theme-toggle{
  background-color:#ffffff!important;
  background-image:linear-gradient(#ffffff,#ffffff)!important;
  color:#163852!important;
  -webkit-text-fill-color:#163852!important;
}
html[data-theme="light"] .btn:hover,
html[data-theme="light"] .pill-btn:hover,
html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .is-action-hover{
  background-color:#176fd4!important;
  background-image:linear-gradient(135deg,#176fd4 0%,#28bfd0 100%)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
@media (max-width:900px){
  html[data-theme="light"],
  html[data-theme="light"] body,
  html[data-theme="light"] main{
    background-color:#f7fbfe!important;
    background-image:linear-gradient(#f7fbfe,#f7fbfe)!important;
  }
  html[data-theme="light"] .knowledge-hero,
  html[data-theme="light"] .page-hero{
    background-color:#f7fbfe!important;
    background-image:linear-gradient(#f7fbfe,#f7fbfe)!important;
  }
  html[data-theme="light"] .section{background-color:#ffffff!important;background-image:linear-gradient(#ffffff,#ffffff)!important}
  html[data-theme="light"] .section.alt{background-color:#f1f7fb!important;background-image:linear-gradient(#f1f7fb,#f1f7fb)!important}
}
